summaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_via.c
diff options
context:
space:
mode:
authorAlan Cox <alan@linux.intel.com>2010-05-05 10:24:57 +0100
committerJeff Garzik <jgarzik@redhat.com>2010-05-14 22:25:00 -0400
commit978c066691a49a205673672a55685305663a2554 (patch)
treedf380b8415c17d80586a111c4492ac6bad7d5afb /drivers/ata/pata_via.c
parent95cc2c70c139936a2142bcd583da8af6f9d88efb (diff)
downloadop-kernel-dev-978c066691a49a205673672a55685305663a2554.zip
op-kernel-dev-978c066691a49a205673672a55685305663a2554.tar.gz
libata: Remove excess delay in the tf_load path
We don't need to stall and wait after loading the task file and before issuing a command, so don't do it. This shows up on profiles and is not needed. Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/ata/pata_via.c')
-rw-r--r--drivers/ata/pata_via.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/ata/pata_via.c b/drivers/ata/pata_via.c
index 741e7cb..87fb89e 100644
--- a/drivers/ata/pata_via.c
+++ b/drivers/ata/pata_via.c
@@ -417,8 +417,6 @@ static void via_tf_load(struct ata_port *ap, const struct ata_taskfile *tf)
tf->lbam,
tf->lbah);
}
-
- ata_wait_idle(ap);
}
static int via_port_start(struct ata_port *ap)
OpenPOWER on IntegriCloud