diff options
author | Hannes Reinecke <[email protected]> | 2018-01-04 04:57:08 -0800 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2018-01-10 23:25:02 -0500 |
commit | 74fcfa5371b7a681e864d3a9d3b9ecfd5737d8ea (patch) | |
tree | 44566166c3859df3a77b24d4c04fed40330c216e /tools/perf/util/c++/clang.cpp | |
parent | b0cd285eb57cd3cb18d882565c22d39bccffe7f0 (diff) |
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 <[email protected]>
Signed-off-by: Suganath Prabu S <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/util/c++/clang.cpp')
0 files changed, 0 insertions, 0 deletions