Re: [PATCH] staging: iio: adt7316: drop unnecessary initialization of variables

2018-12-16 Thread Jonathan Cameron
On Wed, 12 Dec 2018 22:17:46 +0530 Hardik Singh Rathore wrote: > 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

[PATCH] staging: iio: adt7316: drop unnecessary initialization of variables

2018-12-12 Thread Hardik Singh Rathore
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 --- drivers/staging/iio/add