diff options
| author | Colin Ian King <[email protected]> | 2019-07-31 23:22:14 +0100 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2019-08-07 22:16:17 -0400 |
| commit | afcd609e8e7907ccfa04fef0a3adb7d60a298ed6 (patch) | |
| tree | 79e7ea2cc0d7571fe957b28f048d4b51aa6faf14 /tools/perf/scripts/python/bin | |
| parent | a5ac1f5d9a4285adf4e88ffde7ca8ae823d72441 (diff) | |
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 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions