commit | 74fcfa5371b7a681e864d3a9d3b9ecfd5737d8ea | [log] [tgz] |
---|---|---|
author | Hannes Reinecke <hare@suse.de> | Thu Jan 04 04:57:08 2018 -0800 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Wed Jan 10 23:25:02 2018 -0500 |
tree | 44566166c3859df3a77b24d4c04fed40330c216e | |
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 <hare@suse.com> Signed-off-by: Suganath Prabu S <suganath-prabu.subramani@broadcom.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>