]> git.hungrycats.org Git - linux/commit
[libata] remove redundant use of ATA_QCFLAG_SG in ATAPI packet translation
authorJeff Garzik <jgarzik@redhat.com>
Sun, 16 May 2004 14:48:08 +0000 (10:48 -0400)
committerJeff Garzik <jgarzik@redhat.com>
Sun, 16 May 2004 14:48:08 +0000 (10:48 -0400)
commite9c8846e3de355918b6ee6df1bb5b270c0963199
tree32d7da0531c888161aa5e876ff3198d422160e33
parentd89ee0218780580d748a7d43344c87bb1153886a
[libata] remove redundant use of ATA_QCFLAG_SG in ATAPI packet translation

ata_scsi_translate() sets this flag for all ATA->SCSI translated
commands, so it need not be done in atapi_xlat().  The now-removed
use in atapi_xlat() was also inconsistent WRT PIO versus DMA.
drivers/scsi/libata-scsi.c