Re: [PATCH] hwmon: w83793d: remove redundant assignment to variable res

2019-10-17 Thread Guenter Roeck
On Fri, Oct 11, 2019 at 06:02:15PM +0100, Colin King wrote: > From: Colin Ian King > > The variable res is being initialized with a value that > is never read and is being re-assigned a little later on. The > assignment is redundant and hence can be removed. > > Addresses-Coverity: ("Unused valu

[PATCH] hwmon: w83793d: remove redundant assignment to variable res

2019-10-11 Thread Colin King
From: Colin Ian King The variable res is being initialized with a value that is never read and is being re-assigned a little later on. The assignment is redundant and hence can be removed. Addresses-Coverity: ("Unused value") Signed-off-by: Colin Ian King --- drivers/hwmon/w83793.c | 2 +- 1 f