aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband
diff options
context:
space:
mode:
authorOr Gerlitz <ogerlitz@voltaire.com>2008-01-29 05:57:56 -0500
committerRoland Dreier <rolandd@cisco.com>2008-02-04 23:20:43 -0500
commit7bc531dd883b955e6198c8e202161f22d2e8c472 (patch)
tree509aaa21f88d024c422937339783fb7c41c94e44 /drivers/infiniband
parentbafff9741704959e99fb65a7327c017251019a19 (diff)
IPoIB: Remove a misleading debug print
Commit 732a2170 ("IB/ipoib: Bound the net device to the ipoib_neigh structue") left a misleading debug print (n->dev would be a bond device only if boding is used). Clean it up. Signed-off-by: Or Gerlitz <ogerlitz@voltaire.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband')
-rw-r--r--drivers/infiniband/ulp/ipoib/ipoib_main.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/infiniband/ulp/ipoib/ipoib_main.c b/drivers/infiniband/ulp/ipoib/ipoib_main.c
index 886a08cc7d4a..09f5371137a1 100644
--- a/drivers/infiniband/ulp/ipoib/ipoib_main.c
+++ b/drivers/infiniband/ulp/ipoib/ipoib_main.c
@@ -814,11 +814,9 @@ static void ipoib_neigh_cleanup(struct neighbour *n)
814 struct ipoib_ah *ah = NULL; 814 struct ipoib_ah *ah = NULL;
815 815
816 neigh = *to_ipoib_neigh(n); 816 neigh = *to_ipoib_neigh(n);
817 if (neigh) { 817 if (neigh)
818 priv = netdev_priv(neigh->dev); 818 priv = netdev_priv(neigh->dev);
819 ipoib_dbg(priv, "neigh_destructor for bonding device: %s\n", 819 else
820 n->dev->name);
821 } else
822 return; 820 return;
823 ipoib_dbg(priv, 821 ipoib_dbg(priv,
824 "neigh_cleanup for %06x " IPOIB_GID_FMT "\n", 822 "neigh_cleanup for %06x " IPOIB_GID_FMT "\n",