diff options
author | YueHaibing <yuehaibing@huawei.com> | 2018-12-15 07:31:24 +0100 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2018-12-22 17:58:14 +0100 |
commit | 6a4b8937a3d6238b5aa9b9c8083f7238903bfb86 (patch) | |
tree | 8df402eda86edd6fdeec492ba83aa51f8f4653df /drivers/hid/hid-belkin.c | |
parent | staging: iio: adc: ad7606: Add OF device ID table (diff) | |
download | linux-6a4b8937a3d6238b5aa9b9c8083f7238903bfb86.tar.xz linux-6a4b8937a3d6238b5aa9b9c8083f7238903bfb86.zip |
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 c91c1c844ebd ("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>
Diffstat (limited to 'drivers/hid/hid-belkin.c')
0 files changed, 0 insertions, 0 deletions