OSDN Git Service

sata_mv: remove leftovers
authorMark Lord <liml@rtr.ca>
Sat, 31 Jan 2009 02:40:48 +0000 (21:40 -0500)
committerJeff Garzik <jgarzik@redhat.com>
Wed, 25 Mar 2009 02:02:39 +0000 (22:02 -0400)
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>
drivers/ata/sata_mv.c

index 8f356e4..1f14b1b 100644 (file)
@@ -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;
 }