]> git.baikalelectronics.ru Git - kernel.git/commit
staging: rts5208: remove redundant assignment to retval
authorColin Ian King <colin.king@canonical.com>
Sun, 18 Aug 2019 18:46:49 +0000 (19:46 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Aug 2019 12:48:06 +0000 (05:48 -0700)
commite6571832ce7e9bc371e16c3990db44d302628409
treea3b21e46a54786982a9600a5eee96193050189bb
parent197682f1a03755e3c8f6cbc598e4aa87d00f7274
staging: rts5208: remove redundant assignment to retval

Variable retval is initialized to a value that is never read and it
is re-assigned later. 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/20190818184649.13828-1-colin.king@canonical.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rts5208/ms.c