staging: unisys: visorhba: remove redundant initialization of variables scsicmd_id...
authorColin Ian King <colin.king@canonical.com>
Thu, 23 Jul 2020 15:54:15 +0000 (16:54 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Jul 2020 18:34:34 +0000 (20:34 +0200)
commitfa74af6b128cc238bf851f0235d4ae5b42108a66
tree3f1ce51a73f4798ffceade709ded7561c4cb0cbb
parent20a2d16d22f28d27a3312b66d7b276d96e0af271
staging: unisys: visorhba: remove redundant initialization of variables scsicmd_id and rc

The variables scsicmd_id and rc is being initialized with a value
that is never read and are being updated later with a new value.
The initializations are 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/20200723155415.994036-1-colin.king@canonical.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visorhba/visorhba_main.c