Skip to content
Snippets Groups Projects
Commit 6a4b8937 authored by YueHaibing's avatar YueHaibing Committed by Jonathan Cameron
Browse files

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 c91c1c84 ("iio: imu: st_lsm6dsx:
add i2c embedded controller support")

Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
Acked-by: default avatarLorenzo Bianconi <lorenzo.bianconi83@gmail.com>
Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent 43f9b204
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment