commit | f37d13d52c0560bd2bac40b22466af538e61a5ce | [log] [tgz] |
---|---|---|
author | Colin Ian King <colin.king@canonical.com> | Tue May 19 16:45:53 2020 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu May 21 10:58:51 2020 +0200 |
tree | 600d0ded74fdf5ff76a31a58a8d113ab2ef68715 | |
parent | e420637b81f78d0fbacf539bdb1b341eba602aea [diff] |
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>