[ofa-general] [PATCH] ib/ipoib: remove a misleading debug print

Or Gerlitz ogerlitz at voltaire.com
Tue Jan 29 02:57:56 PST 2008


commit 732a2170f499ce7cf5f0bdd4f9e0b0c8337b67e1 "IB/ipoib: Bound the
net device to the ipoib_neigh structue" left a misleading (n->dev would
be a bond device only if boding is used) debug print, clean it up.

Signed-off-by: Or Gerlitz <ogerlitz at voltaire.com>

Index: linux-2.6.24-rc8/drivers/infiniband/ulp/ipoib/ipoib_main.c
===================================================================
--- linux-2.6.24-rc8.orig/drivers/infiniband/ulp/ipoib/ipoib_main.c	2008-01-29 09:20:32.000000000 +0200
+++ linux-2.6.24-rc8/drivers/infiniband/ulp/ipoib/ipoib_main.c	2008-01-29 09:22:30.000000000 +0200
@@ -821,11 +821,9 @@ static void ipoib_neigh_cleanup(struct n
 	struct ipoib_ah *ah = NULL;

 	neigh = *to_ipoib_neigh(n);
-	if (neigh) {
+	if (neigh)
 		priv = netdev_priv(neigh->dev);
-		ipoib_dbg(priv, "neigh_destructor for bonding device: %s\n",
-			  n->dev->name);
-	} else
+	else
 		return;
 	ipoib_dbg(priv,
 		  "neigh_cleanup for %06x " IPOIB_GID_FMT "\n",



More information about the general mailing list