summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/ipath/ipath_driver.c
diff options
context:
space:
mode:
authorBryan O'Sullivan <bos@pathscale.com>2006-07-01 04:36:08 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2006-07-01 09:56:00 -0700
commit7cd658cd2bca48d3a0e747b4525c72eb8855278e (patch)
treef12e9b533ffea61978e4aea642066f774aa16777 /drivers/infiniband/hw/ipath/ipath_driver.c
parentc100f622fd9e529e0f4e4324b93f66d105dde61d (diff)
downloadop-kernel-dev-7cd658cd2bca48d3a0e747b4525c72eb8855278e.zip
op-kernel-dev-7cd658cd2bca48d3a0e747b4525c72eb8855278e.tar.gz
[PATCH] IB/ipath: removed redundant statements
The tail register read became redundant as the result of earlier receive interrupt bug fixes. Drop another unneeded register read. And another line that got duplicated. Signed-off-by: Dave Olson <dave.olson@qlogic.com> Signed-off-by: Bryan O'Sullivan <bryan.osullivan@qlogic.com> Cc: "Michael S. Tsirkin" <mst@mellanox.co.il> Cc: Roland Dreier <rolandd@cisco.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/infiniband/hw/ipath/ipath_driver.c')
-rw-r--r--drivers/infiniband/hw/ipath/ipath_driver.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/infiniband/hw/ipath/ipath_driver.c b/drivers/infiniband/hw/ipath/ipath_driver.c
index 66b41ec..979ae29 100644
--- a/drivers/infiniband/hw/ipath/ipath_driver.c
+++ b/drivers/infiniband/hw/ipath/ipath_driver.c
@@ -890,9 +890,6 @@ void ipath_kreceive(struct ipath_devdata *dd)
goto done;
reloop:
- /* read only once at start for performance */
- hdrqtail = (u32)le64_to_cpu(*dd->ipath_hdrqtailptr);
-
for (i = 0; l != hdrqtail; i++) {
u32 qp;
u8 *bthbytes;
OpenPOWER on IntegriCloud