diff options
| author | Colin Ian King <[email protected]> | 2019-07-31 22:22:14 +0000 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2019-08-08 02:16:17 +0000 |
| commit | afcd609e8e7907ccfa04fef0a3adb7d60a298ed6 (patch) | |
| tree | 79e7ea2cc0d7571fe957b28f048d4b51aa6faf14 /drivers/scsi/mpt3sas/mpi/mpi2_pci.h | |
| parent | scsi: hisi_sas: Consolidate internal abort calls in LU reset operation (diff) | |
| download | kernel-afcd609e8e7907ccfa04fef0a3adb7d60a298ed6.tar.gz kernel-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 <[email protected]>
Acked-by: Jack Wang <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt3sas/mpi/mpi2_pci.h')
0 files changed, 0 insertions, 0 deletions
