diff options
author | Colin Ian King <colin.i.king@gmail.com> | 2022-02-07 14:59:43 +0100 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-02-07 21:40:39 +0100 |
commit | 342c6c5e2260875e0716a9f798dd89da431e679f (patch) | |
tree | f67205f09c6993882caefbf4c214321005f69249 /drivers/iio/proximity | |
parent | iio: imu: inv_mpu6050: Make use of device properties (diff) | |
download | linux-342c6c5e2260875e0716a9f798dd89da431e679f.tar.xz linux-342c6c5e2260875e0716a9f798dd89da431e679f.zip |
iio: adc: cpcap-adc: remove redundant assignment to variable cal_data_diff
The variable cal_data_diff is being assigned a value that is never read,
it is being re-assigned later on with a new value in both paths of an
if statement. The assignment is redundant, so remove it.
Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Link: https://lore.kernel.org/r/20220207135943.340629-1-colin.i.king@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/proximity')
0 files changed, 0 insertions, 0 deletions