OSDN Git Service

staging: wilc1000: remove redundant assignment to variable result
authorColin Ian King <colin.king@canonical.com>
Tue, 14 Jan 2020 17:27:20 +0000 (17:27 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 15 Jan 2020 12:11:41 +0000 (13:11 +0100)
commit01fbbd42d1f48b505714434c406f6ebbd6c9a60e
tree1c7f1adb64d15611272b504bb991d2de57ce00a4
parent4cc41cbce536876678b35e03c4a8a7bb72c78fa9
staging: wilc1000: remove redundant assignment to variable result

The variable result is being initialized with a value that
is never read and is being re-assigned later on. The assignment
is redundant and hence can be removed.

Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Link: https://lore.kernel.org/r/20200114172720.376286-1-colin.king@canonical.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/spi.c