]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blobdiff - drivers/ata/pdc_adma.c
libata-sff: ata_sff_[dumb_]qc_prep are BMDMA specific
[mirror_ubuntu-hirsute-kernel.git] / drivers / ata / pdc_adma.c
index bb4f838655b6144f36ea88b59b312aa1552b46da..adbe0426c8f08a13a3ec53ff7fb51f58d65b9597 100644 (file)
@@ -324,10 +324,8 @@ static void adma_qc_prep(struct ata_queued_cmd *qc)
        VPRINTK("ENTER\n");
 
        adma_enter_reg_mode(qc->ap);
-       if (qc->tf.protocol != ATA_PROT_DMA) {
-               ata_sff_qc_prep(qc);
+       if (qc->tf.protocol != ATA_PROT_DMA)
                return;
-       }
 
        buf[i++] = 0;   /* Response flags */
        buf[i++] = 0;   /* reserved */