summaryrefslogtreecommitdiffstats
path: root/drivers/ata/sata_mv.c
diff options
context:
space:
mode:
authorMark Lord <liml@rtr.ca>2009-01-31 03:40:48 +0100
committerJeff Garzik <jgarzik@redhat.com>2009-03-25 03:02:39 +0100
commit84bcbeebcfd283c3f4804287ed4610c3a18e1590 (patch)
treea2aaa6119c4bce8673847abed2330bdbbd7ba563 /drivers/ata/sata_mv.c
parentsata_mv: optimize use of mv_edma_cfg (diff)
downloadlinux-84bcbeebcfd283c3f4804287ed4610c3a18e1590.tar.xz
linux-84bcbeebcfd283c3f4804287ed4610c3a18e1590.zip
sata_mv: remove leftovers
Remove redundant code left over from the earlier patch 04/07. Signed-off-by: Mark Lord <mlord@pobox.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/ata/sata_mv.c')
-rw-r--r--drivers/ata/sata_mv.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/ata/sata_mv.c b/drivers/ata/sata_mv.c
index 8f356e4417d2..1f14b1b52340 100644
--- a/drivers/ata/sata_mv.c
+++ b/drivers/ata/sata_mv.c
@@ -1820,8 +1820,6 @@ static struct ata_queued_cmd *mv_get_active_qc(struct ata_port *ap)
else if (!(qc->flags & ATA_QCFLAG_ACTIVE))
qc = NULL;
}
- if (qc && (qc->tf.flags & ATA_TFLAG_POLLING))
- qc = NULL;
return qc;
}