OSDN Git Service

scsi: mvsas: remove redundant assignment to variable rc
authorColin Ian King <colin.king@canonical.com>
Thu, 5 Sep 2019 13:50:17 +0000 (14:50 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 1 Oct 2019 02:42:41 +0000 (22:42 -0400)
commitc88dcd8aca65bf8de54093e245128157bb953d85
treed441fcc7ebfbe22538cb55fd8d1d2f51ca4fc6ce
parentda6d2965dbdb480f091c42f54a09abe8056282e5
scsi: mvsas: remove redundant assignment to variable rc

The variable rc is being initialized with a value that is never read and is
being re-assigned a little later on. The assignment is redundant and hence
can be removed.

Link: https://lore.kernel.org/r/20190905135017.23772-1-colin.king@canonical.com
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/mvsas/mv_sas.c