diff options
| author | 2022-07-25 10:01:27 +0900 | |
|---|---|---|
| committer | 2022-08-26 07:46:08 +0900 | |
| commit | 066de3b9d93b6564e2f68005484d8c0597620748 (patch) | |
| tree | 8d173fb51ba0b2a9555d662ba402af4472beb550 /include/uapi/git:/ssh:/git@git.zx2c4.com | |
| parent | ata: libata: Rename ATA_DFLAG_NCQ_PRIO_ENABLE (diff) | |
| download | linux-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 'include/uapi/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
