linux/drivers/iio/imu/st_lsm6dsx
YueHaibing 6a4b8937a3 iio: imu: st_lsm6dsx: remove set but not used variable ''
Fixes gcc '-Wunused-but-set-variable' warning:

drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_shub.c: In function 'st_lsm6dsx_shub_read_reg':
drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_shub.c:108:41: warning:
 variable 'hub_settings' set but not used [-Wunused-but-set-variable]

It never used since introduction in commit c91c1c844e ("iio: imu: st_lsm6dsx:
add i2c embedded controller support")

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Acked-by: Lorenzo Bianconi <lorenzo.bianconi83@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2018-12-22 16:58:14 +00:00
..
Kconfig iio: imu: st_lsm6dsx: add support to LSM6DSO 2018-09-02 21:30:47 +01:00
Makefile iio: imu: st_lsm6dsx: add i2c embedded controller support 2018-11-16 18:32:33 +00:00
st_lsm6dsx.h iio: imu: st_lsm6dsx: add hw FIFO support to i2c controller 2018-11-16 18:32:34 +00:00
st_lsm6dsx_buffer.c iio: imu: st_lsm6dsx: add hw FIFO support to i2c controller 2018-11-16 18:32:34 +00:00
st_lsm6dsx_core.c iio: imu: st_lsm6dsx: add hw FIFO support to i2c controller 2018-11-16 18:32:34 +00:00
st_lsm6dsx_i2c.c iio: imu: st_lsm6dsx: add support to LSM6DSO 2018-09-02 21:30:47 +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 LSM6DSO 2018-09-02 21:30:47 +01:00