]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
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 8f356e4417d20d56d7cf781f3def59e2270cd7ce..1f14b1b52340dfce4e4136f694e2d3ede81ab173 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;
 }