diff options
| author | Hannes Reinecke <hare@suse.de> | 2018-01-04 04:57:08 -0800 |
|---|---|---|
| committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-01-10 23:25:02 -0500 |
| commit | 74fcfa5371b7a681e864d3a9d3b9ecfd5737d8ea (patch) | |
| tree | 44566166c3859df3a77b24d4c04fed40330c216e /tools/perf/scripts/python | |
| parent | scsi: mpt3sas: always use first reserved smid for ioctl passthrough (diff) | |
| download | linux-74fcfa5371b7a681e864d3a9d3b9ecfd5737d8ea.tar.gz linux-74fcfa5371b7a681e864d3a9d3b9ecfd5737d8ea.zip | |
scsi: mpt3sas: simplify task management functions
No functional change. Code optimization.
One can simply check 'target_busy' or 'device_busy' when figuring out if
there are outstanding commands; no need to painstakingly count them by
hand.
[mkp: tweaked patch description]
Signed-off-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Suganath Prabu S <suganath-prabu.subramani@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
