hwmon: (w83793d) remove redundant assignment to variable res
authorColin Ian King <colin.king@canonical.com>
Fri, 11 Oct 2019 17:02:15 +0000 (18:02 +0100)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 6 Nov 2019 22:37:19 +0000 (14:37 -0800)
commit58a24b5241e6a86a965bb5d4a7a3df8767660611
tree4b7f849ab138ef127d629bc5b6a10b139f259843
parentda806a1777e94e04c6c291dc500474cdde8f12e7
hwmon: (w83793d) remove redundant assignment to variable res

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.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Link: https://lore.kernel.org/r/20191011170215.11539-1-colin.king@canonical.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/w83793.c