diff options
author | 2019-07-31 23:22:14 +0100 | |
---|---|---|
committer | 2019-08-07 22:16:17 -0400 | |
commit | afcd609e8e7907ccfa04fef0a3adb7d60a298ed6 (patch) | |
tree | 79e7ea2cc0d7571fe957b28f048d4b51aa6faf14 /drivers/scsi/mpt3sas/mpi/mpi2_image.h | |
parent | scsi: hisi_sas: Consolidate internal abort calls in LU reset operation (diff) | |
download | linux-dev-afcd609e8e7907ccfa04fef0a3adb7d60a298ed6.tar.xz linux-dev-afcd609e8e7907ccfa04fef0a3adb7d60a298ed6.zip |
scsi: pm80xx: remove redundant assignments to variable rc
There are several occasions where variable rc is being initialized with a
value that is never read and error is being re-assigned a little later on.
Clean up the code by removing rc entirely and just returning the return
value from the call to pm8001_issue_ssp_tmf
Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Jack Wang <jinpu.wang@cloud.ionos.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/mpt3sas/mpi/mpi2_image.h')
0 files changed, 0 insertions, 0 deletions