diff options
author | Colin Ian King <colin.king@canonical.com> | 2020-06-10 15:36:38 +0300 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2020-07-20 02:25:20 +0300 |
commit | 9e444234b6d8de48e9032f47997773cd98d863a5 (patch) | |
tree | 2a0f7e9a41648561ffb93d41693c097475f4c930 /drivers/hwmon/nct6683.c | |
parent | ba47d845d715a010f7b51f6f89bae32845e6acb7 (diff) | |
download | linux-9e444234b6d8de48e9032f47997773cd98d863a5.tar.xz |
hwmon: (i5k_amb) remove redundant assignment to variable res
The variable res is being initialized with a value that is
never read and it is being updated later with a new value. The
initialization is redundant and can be removed.
Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Link: https://lore.kernel.org/r/20200610123638.1133428-1-colin.king@canonical.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/nct6683.c')
0 files changed, 0 insertions, 0 deletions