diff options
author | Colin Ian King <colin.king@canonical.com> | 2020-05-19 17:45:53 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-05-21 10:58:51 +0200 |
commit | f37d13d52c0560bd2bac40b22466af538e61a5ce (patch) | |
tree | 600d0ded74fdf5ff76a31a58a8d113ab2ef68715 /Documentation/w1/slaves/w1_therm.rst | |
parent | w1_therm: Free the correct variable (diff) | |
download | linux-f37d13d52c0560bd2bac40b22466af538e61a5ce.tar.xz linux-f37d13d52c0560bd2bac40b22466af538e61a5ce.zip |
w1_therm: remove redundant assignments to variable ret
The variable ret 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/20200519154553.873413-1-colin.king@canonical.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/w1/slaves/w1_therm.rst')
0 files changed, 0 insertions, 0 deletions