aboutsummaryrefslogtreecommitdiff
path: root/drivers/ata/libata-core.c
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2007-02-02 16:22:31 +0900
committerJeff Garzik <jeff@garzik.org>2007-02-21 04:58:17 -0500
commit909706a2477a92b6e0f3083ed4b944cb1d09acfa (patch)
treea867e3ebbcec3d135022850df24a8685ea64ac36 /drivers/ata/libata-core.c
parent7d47e8d4d4fb0c3d3bdc706759e70d5453b61ec3 (diff)
libata: kill ATA_DNXFER_ANY
ATA_DNXFER_ANY isn't used anymore. Kill it. Signed-off-by: Tejun Heo <htejun@gmail.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata/libata-core.c')
-rw-r--r--drivers/ata/libata-core.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c
index 24c6505f062..407e7e15c25 100644
--- a/drivers/ata/libata-core.c
+++ b/drivers/ata/libata-core.c
@@ -2360,15 +2360,6 @@ int ata_down_xfermask_limit(struct ata_device *dev, unsigned int sel)
udma_mask = 0;
break;
- case ATA_DNXFER_ANY:
- /* don't gear down to MWDMA from UDMA, go directly to PIO */
- if (xfer_mask & ATA_MASK_UDMA)
- xfer_mask &= ~ATA_MASK_MWDMA;
-
- highbit = fls(xfer_mask) - 1;
- xfer_mask &= ~(1 << highbit);
- break;
-
default:
BUG();
}