aboutsummaryrefslogtreecommitdiffstats
path: root/rust/kernel
diff options
context:
space:
mode:
authorDamien Le Moal <damien.lemoal@opensource.wdc.com>2022-07-25 10:01:27 +0900
committerDamien Le Moal <damien.lemoal@opensource.wdc.com>2022-08-26 07:46:08 +0900
commit066de3b9d93b6564e2f68005484d8c0597620748 (patch)
tree8d173fb51ba0b2a9555d662ba402af4472beb550 /rust/kernel
parentata: libata: Rename ATA_DFLAG_NCQ_PRIO_ENABLE (diff)
downloadlinux-dev-066de3b9d93b6564e2f68005484d8c0597620748.tar.xz
linux-dev-066de3b9d93b6564e2f68005484d8c0597620748.zip
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 'rust/kernel')
0 files changed, 0 insertions, 0 deletions