linux/drivers/iio/imu/st_lsm6dsx
YueHaibing 631bd2f7ec 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 14c7c6e1a8 ("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>
2019-04-14 13:39:30 +01:00
..
Kconfig iio: imu: st_lsm6dsx: add support to LSM6DSR 2019-04-07 11:29:43 +01:00
Makefile iio: imu: st_lsm6dsx: add i2c embedded controller support 2018-11-16 18:32:33 +00:00
st_lsm6dsx_buffer.c iio: imu: st_lsm6dsx: remove set but not used variables 'acc_sensor' and 'gyro_sensor' 2019-04-14 13:39:30 +01:00
st_lsm6dsx_core.c iio: imu: st_lsm6dsx: add support to LSM6DSR 2019-04-07 11:29:43 +01:00
st_lsm6dsx_i2c.c iio: imu: st_lsm6dsx: add support to LSM6DSR 2019-04-07 11:29:43 +01:00
st_lsm6dsx_shub.c iio: imu: st_lsm6dsx: remove set but not used variable '' 2018-12-22 16:58:14 +00:00
st_lsm6dsx_spi.c iio: imu: st_lsm6dsx: add support to LSM6DSR 2019-04-07 11:29:43 +01:00
st_lsm6dsx.h iio: imu: st_lsm6dsx: add support to LSM6DSR 2019-04-07 11:29:43 +01:00