scsi: bfa: remove redundant assignment to variable error
authorColin Ian King <colin.king@canonical.com>
Wed, 31 Jul 2019 22:11:52 +0000 (23:11 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 29 Aug 2019 21:41:24 +0000 (17:41 -0400)
commit5f6b4e1e09331938a818cf8f371025ae03dee069
tree266b1c91ca76240a37c23cc60f6cec6280af21c8
parent10541f037bd925c6752250e0b37b1ea43de27068
scsi: bfa: remove redundant assignment to variable error

Variable error is being initialized with a value that is never read and
error is being re-assigned a little 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>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/bfa/bfad_im.c