]> git.karo-electronics.de Git - linux-beck.git/commit
libata-scsi: Remove !use_sg code paths
authorBoaz Harrosh <bharrosh@panasas.com>
Tue, 18 Sep 2007 15:46:12 +0000 (17:46 +0200)
committerJeff Garzik <jeff@garzik.org>
Fri, 12 Oct 2007 18:55:38 +0000 (14:55 -0400)
commite10b8c3f5f23188e065b1845ba732570eca007fe
treef236f3a850bbefc16e4819992a725f678c6a0421
parentd2a84f47899d1efc24fa610696f7b793692279c7
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: Jeff Garzik <jeff@garzik.org>
drivers/ata/libata-scsi.c