diff options
author | Hardik Singh Rathore <hardiksingh.k@gmail.com> | 2018-12-12 23:27:07 +0530 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2018-12-16 14:05:57 +0000 |
commit | f1b753a0f866a834f5681506ac29b6ca0ee902b2 (patch) | |
tree | 69e091a83feb8f307bcda26acdac13b1df148100 /tools/iio/iio_event_monitor.c | |
parent | 4b6374577fe751f60ffc24c7b95ce803a22b2476 (diff) | |
download | linux-f1b753a0f866a834f5681506ac29b6ca0ee902b2.tar.gz |
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/iio_event_monitor.c')
0 files changed, 0 insertions, 0 deletions