OSDN Git Service

iio: max44000: remove unused variable max44000_alstim_shift
authorColin Ian King <colin.king@canonical.com>
Thu, 9 Aug 2018 13:53:38 +0000 (14:53 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 19 Aug 2018 17:28:26 +0000 (18:28 +0100)
commiteb2e188817b13d2f13b61ea6b96b7753ccff48dd
treef776ca3d366da582e0ed56fa7d69e45b4cb3815c
parentf4f55ce38e5f823a13662b12189627a5b9a34688
iio: max44000: remove unused variable max44000_alstim_shift

Variable max44000_alstim_shift is defined but is never used hence it is
redundant and can be removed. This variable has been like this since
the driver was added back in 2016.

Cleans up clang warning:
warning: 'max44000_alstim_shift' defined but not used [-Wunused-const-variable=]

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/light/max44000.c