diff options
author | Damien Le Moal <damien.lemoal@opensource.wdc.com> | 2022-07-25 10:01:27 +0900 |
---|---|---|
committer | Damien Le Moal <damien.lemoal@opensource.wdc.com> | 2022-08-26 07:46:08 +0900 |
commit | 066de3b9d93b6564e2f68005484d8c0597620748 (patch) | |
tree | 8d173fb51ba0b2a9555d662ba402af4472beb550 /tools/perf/scripts/python/net_dropmonitor.py | |
parent | e00923c59e68b63c998a0fef4145b5279331968a (diff) |
ata: libata-core: Simplify ata_build_rw_tf()
Since ata_build_rw_tf() is only called from ata_scsi_rw_xlat() with the
tf, dev and tag arguments obtained from the queued command structure,
we can simplify the interface of ata_build_rw_tf() by passing directly
the qc structure as argument.
Furthermore, since ata_scsi_rw_xlat() is never used for internal
commands, we can also remove the internal tag check for the NCQ case.
Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions