summaryrefslogtreecommitdiffstats
path: root/drivers/iio/temperature
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2019-04-09 04:12:17 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2019-04-14 14:39:30 +0200
commit631bd2f7ec02ad9e3d1fa31765971387e7792483 (patch)
treeb3eadec13c8fa53abe435bd13c34ef00be4fabe2 /drivers/iio/temperature
parentiio: accel: add support to LIS2DE12 (diff)
downloadlinux-631bd2f7ec02ad9e3d1fa31765971387e7792483.tar.xz
linux-631bd2f7ec02ad9e3d1fa31765971387e7792483.zip
iio: imu: st_lsm6dsx: remove set but not used variables 'acc_sensor' and 'gyro_sensor'
Fixes gcc '-Wunused-but-set-variable' warning: drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_buffer.c: In function 'st_lsm6dsx_read_tagged_fifo': drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_buffer.c:520:41: warning: variable 'gyro_sensor' set but not used [-Wunused-but-set-variable] drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_buffer.c:520:28: warning: variable 'acc_sensor' set but not used [-Wunused-but-set-variable] They are not used since commit 14c7c6e1a860 ("iio: imu: st_lsm6dsx: add st_lsm6dsx_push_tagged_data routine") Signed-off-by: YueHaibing <yuehaibing@huawei.com> Acked-by: Lorenzo Bianconi <lorenzo@kernel.org> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/temperature')
0 files changed, 0 insertions, 0 deletions