diff options
author | Colin Ian King <colin.king@canonical.com> | 2020-06-10 14:36:38 +0200 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2020-07-20 01:25:20 +0200 |
commit | 9e444234b6d8de48e9032f47997773cd98d863a5 (patch) | |
tree | 2a0f7e9a41648561ffb93d41693c097475f4c930 /lib/errname.c | |
parent | Linux 5.8-rc6 (diff) | |
download | linux-9e444234b6d8de48e9032f47997773cd98d863a5.tar.xz linux-9e444234b6d8de48e9032f47997773cd98d863a5.zip |
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 'lib/errname.c')
0 files changed, 0 insertions, 0 deletions