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>
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| w1_ds28e04.c | ||
| w1_ds28e17.c | ||
| w1_ds250x.c | ||
| w1_ds2405.c | ||
| w1_ds2406.c | ||
| w1_ds2408.c | ||
| w1_ds2413.c | ||
| w1_ds2423.c | ||
| w1_ds2430.c | ||
| w1_ds2431.c | ||
| w1_ds2433.c | ||
| w1_ds2438.c | ||
| w1_ds2780.c | ||
| w1_ds2780.h | ||
| w1_ds2781.c | ||
| w1_ds2781.h | ||
| w1_ds2805.c | ||
| w1_smem.c | ||
| w1_therm.c | ||