From: Tejun Heo Date: Tue, 17 Jun 2008 03:36:26 +0000 (+0900) Subject: libata: don't check whether to use DMA or not for no data commands X-Git-Tag: v2.6.26-rc7~10^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5895ef9a5b746e7cc9ebda50c87fbd11562da0a4;p=pandora-kernel.git libata: don't check whether to use DMA or not for no data commands There's no reason to check whether to use DMA or not for no data commands. Don't do it. While at it, make local variable using_pio in atapi_xlat() set iff ATAPI_PROT_PIO is going to be used and rename ata_check_atapi_dma() to atapi_check_dma() for consistency. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed