staging: unisys: visorinput: remove redundant assignment of variable led
authorColin Ian King <colin.king@canonical.com>
Thu, 13 May 2021 22:08:32 +0000 (23:08 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 14 May 2021 11:55:45 +0000 (13:55 +0200)
commit76e78f3df8f5d21b1a85f770fa92a1fd211e429b
tree3280dcf4f538453da7723f6a91b6499892ec668b
parent09be0d0db530412eae63b8e11cf03d2b93d2426d
staging: unisys: visorinput: remove redundant assignment of variable led

The variable led  is being assigned a value that is never used before
a return statement. The assignment is redundant and can be removed.

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