[ofa-general] [PATCH] IB/ipoib: remove unnecessary allocation

Eli Cohen eli at dev.mellanox.co.il
Thu Feb 14 03:15:28 PST 2008


IB/ipoib: remove unnecessary allocation

Signed-off-by: Eli Cohen <eli at mellanox.co.il>
---
  drivers/infiniband/ulp/ipoib/ipoib.h |    1 -
  1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/drivers/infiniband/ulp/ipoib/ipoib.h b/drivers/infiniband/ulp/ipoib/ipoib.h
index f9b7caa..054fab8 100644
--- a/drivers/infiniband/ulp/ipoib/ipoib.h
+++ b/drivers/infiniband/ulp/ipoib/ipoib.h
@@ -209,7 +209,6 @@ struct ipoib_cm_tx {
  	unsigned	     tx_tail;
  	unsigned long	     flags;
  	u32		     mtu;
-	struct ib_wc	     ibwc[IPOIB_NUM_WC];
  };

  struct ipoib_cm_rx_buf {
-- 
1.5.3.8




More information about the general mailing list