aboutsummaryrefslogtreecommitdiffstats
path: root/tools/iio
diff options
context:
space:
mode:
authorHardik Singh Rathore <hardiksingh.k@gmail.com>2018-12-12 23:27:07 +0530
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2018-12-16 14:05:57 +0000
commitf1b753a0f866a834f5681506ac29b6ca0ee902b2 (patch)
tree69e091a83feb8f307bcda26acdac13b1df148100 /tools/iio
parentstaging: iio: adc: ad7280a: split ad7280_attr_init() to more functions (diff)
downloadlinux-dev-f1b753a0f866a834f5681506ac29b6ca0ee902b2.tar.xz
linux-dev-f1b753a0f866a834f5681506ac29b6ca0ee902b2.zip
staging: iio: ad7816: drop unnecessary initialization of variables
Initialization is unnecessary when the variable is written before it is read. There were some occasions in which the driver would initialize `ret' during declaration without need. Signed-off-by: Hardik Singh Rathore <hardiksingh.k@gmail.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/iio')
0 files changed, 0 insertions, 0 deletions