commit | 5895ef9a5b746e7cc9ebda50c87fbd11562da0a4 | [log] [tgz] |
---|---|---|
author | Tejun Heo <tj@kernel.org> | Tue Jun 17 12:36:26 2008 +0900 |
committer | Jeff Garzik <jgarzik@redhat.com> | Wed Jun 18 20:27:49 2008 -0400 |
tree | 264ed72edfef60f11260f3227523334b1e1aca80 | |
parent | d799e083a80b220f3681d7790f11e77d1704022b [diff] |
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 <tj@kernel.org> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>