diff options
| author | Damien Le Moal <[email protected]> | 2022-02-20 12:18:04 +0900 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2022-02-22 21:31:20 -0500 |
| commit | bf67e693fc40d7b2e32f79427f1284d98ba1c809 (patch) | |
| tree | a1f2719b48dc5dd1f2b8da78a7abfbb10e67251a /tools/perf/scripts/python/flamegraph.py | |
| parent | 0c4ad6c3d3b89bdcc112e028fe52ca6ce122b90b (diff) | |
scsi: pm8001: Simplify pm8001_get_ncq_tag()
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]>
Reviewed-by: Jack Wang <[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/flamegraph.py')
0 files changed, 0 insertions, 0 deletions