summaryrefslogtreecommitdiffstats
path: root/drivers/iio/afe
diff options
context:
space:
mode:
authorTang Bin <tangbin@cmss.chinamobile.com>2021-05-18 11:56:47 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2021-06-03 19:24:13 +0200
commit842b17223fcd0574e8875599ad411c0b8ea895f5 (patch)
tree7fc01b65d174754d506203239ff2c003bc3b2091 /drivers/iio/afe
parentiio: Drop Duplicated "mount-matrix" parameter (diff)
downloadlinux-842b17223fcd0574e8875599ad411c0b8ea895f5.tar.xz
linux-842b17223fcd0574e8875599ad411c0b8ea895f5.zip
staging: iio: cdc: ad7746: Remove unnecessary assignment in ad7746_probe()
In the function ad7746_probe(), the initialized value of 'ret' is unused, because it will be assigned by the function i2c_smbus_write_byte_data(), thus remove it. Signed-off-by: Tang Bin <tangbin@cmss.chinamobile.com> Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com> Link: https://lore.kernel.org/r/20210518095647.3008-1-tangbin@cmss.chinamobile.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/afe')
0 files changed, 0 insertions, 0 deletions