Skip to content
Commit e10b8c3f authored by Boaz Harrosh's avatar Boaz Harrosh Committed by Jeff Garzik
Browse files

libata-scsi: Remove !use_sg code paths



     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>
parent d2a84f47
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment