summaryrefslogtreecommitdiffstats
path: root/drivers/ata
diff options
context:
space:
mode:
authorMark Lord <liml@rtr.ca>2009-01-30 21:40:48 -0500
committerJeff Garzik <jgarzik@redhat.com>2009-03-24 22:02:39 -0400
commit84bcbeebcfd283c3f4804287ed4610c3a18e1590 (patch)
treea2aaa6119c4bce8673847abed2330bdbbd7ba563 /drivers/ata
parent66e57a2cb0c538d4f84a7233c224735fe1eaa672 (diff)
downloadop-kernel-dev-84bcbeebcfd283c3f4804287ed4610c3a18e1590.zip
op-kernel-dev-84bcbeebcfd283c3f4804287ed4610c3a18e1590.tar.gz
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')
-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 8f356e4..1f14b1b 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;
}
OpenPOWER on IntegriCloud