• Boaz Harrosh's avatar
    libata-scsi: Remove !use_sg code paths · e10b8c3f
    Boaz Harrosh authored
         This is a minimal patch needed to remove use of !use_sg
         but it is not a complete clean up of the !use_sg paths.
         Libata-core still has the qc->flags & ATA_QCFLAG_SG
         and !qc->n_elem code paths. Perhaps an ata maintainer
         would have a go at it.
    
         - TODO: further cleanup of qc->flags & ATA_QCFLAG_SG
           and !qc->n_elem code paths in libata-core
         - TODO: Use scsi_dma_{map,unmap} where applicable.
    Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
    e10b8c3f
libata-scsi.c 86.8 KB