scsi: pm8001: Remove redundant initialization of variable 'rv'
authorColin Ian King <colin.king@canonical.com>
Wed, 4 Aug 2021 14:33:19 +0000 (15:33 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 10 Aug 2021 03:47:28 +0000 (23:47 -0400)
commit83da6ad6f97e192da49ec479d7811b5f97144d81
treed0f9dc1f3d273e5062b2ec939ca90900074fc4de
parent102851fc9a0d5ac8ea8b3e833f565dc1955b67cc
scsi: pm8001: Remove redundant initialization of variable 'rv'

The variable 'rv' is being initialized with a value that is never read, it
is being updated later on. The assignment is redundant and can be removed.

Link: https://lore.kernel.org/r/20210804143319.115340-1-colin.king@canonical.com
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Addresses-Coverity: ("Unused value")
drivers/scsi/pm8001/pm8001_hwi.c