staging: iio: adt7316: drop unnecessary initialization of variables
authorHardik Singh Rathore <hardiksingh.k@gmail.com>
Wed, 12 Dec 2018 16:47:46 +0000 (22:17 +0530)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 16 Dec 2018 14:05:56 +0000 (14:05 +0000)
commit1533e45748783ca971639b1b661509314a13ff8c
tree559a57c31d7343d5a46ebbfab4b2f99442b0b78f
parent618ab57f95bd15bfa153a6901a19a8c10e816156
staging: iio: adt7316: 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.

Purely a cosmetic change with no functional impact.

Signed-off-by: Hardik Singh Rathore <hardiksingh.k@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/staging/iio/addac/adt7316-i2c.c
drivers/staging/iio/addac/adt7316-spi.c
drivers/staging/iio/addac/adt7316.c