diff options
| author | Damien Le Moal <[email protected]> | 2022-02-20 12:18:02 +0900 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2022-02-22 21:31:20 -0500 |
| commit | a1e7c7991923ab736e5be0ebcf65499acb04d583 (patch) | |
| tree | 84069e022f5c90f69848d5d70c4d36783e87ec41 /tools/perf/scripts/python | |
| parent | f792a3629f4c4aa4c3703d66b43ce1edcc3ec09a (diff) | |
scsi: libsas: Simplify sas_ata_qc_issue() detection of NCQ commands
To detect if a command is NCQ, there is no need to test all possible NCQ
command codes. Instead, use ata_is_ncq() to test the command protocol.
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: John Garry <[email protected]>
Signed-off-by: Damien Le Moal <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions