scsi: lpfc: Remove redundant initialization to variable rc
authorColin Ian King <colin.king@canonical.com>
Thu, 7 May 2020 20:31:11 +0000 (21:31 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 12 May 2020 02:30:14 +0000 (22:30 -0400)
commit6e27a86aed9760780666b062abbcf5e1408e8376
treee29d8a506f1213f2313292dde60804e03ab01453
parentec38c0adc0a149496b6b0e0bfcff9bc7d80db2c4
scsi: lpfc: Remove redundant initialization to variable rc

The variable rc is being initialized with a value that is never read and it
is being updated later with a new value.  The initialization is redundant
and can be removed.

Link: https://lore.kernel.org/r/20200507203111.64709-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/lpfc/lpfc_attr.c