diff options
author | Hardik Singh Rathore <hardiksingh.k@gmail.com> | 2018-12-12 20:57:07 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2018-12-16 17:05:57 +0300 |
commit | f1b753a0f866a834f5681506ac29b6ca0ee902b2 (patch) | |
tree | 69e091a83feb8f307bcda26acdac13b1df148100 /tools/iio | |
parent | 4b6374577fe751f60ffc24c7b95ce803a22b2476 (diff) | |
download | linux-f1b753a0f866a834f5681506ac29b6ca0ee902b2.tar.xz |
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