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>

authored by

Or Gerlitz and committed by
Roland Dreier
7bc531dd bafff974

+2 -4
+2 -4
drivers/infiniband/ulp/ipoib/ipoib_main.c
··· 814 struct ipoib_ah *ah = NULL; 815 816 neigh = *to_ipoib_neigh(n); 817 - if (neigh) { 818 priv = netdev_priv(neigh->dev); 819 - ipoib_dbg(priv, "neigh_destructor for bonding device: %s\n", 820 - n->dev->name); 821 - } else 822 return; 823 ipoib_dbg(priv, 824 "neigh_cleanup for %06x " IPOIB_GID_FMT "\n",
··· 814 struct ipoib_ah *ah = NULL; 815 816 neigh = *to_ipoib_neigh(n); 817 + if (neigh) 818 priv = netdev_priv(neigh->dev); 819 + else 820 return; 821 ipoib_dbg(priv, 822 "neigh_cleanup for %06x " IPOIB_GID_FMT "\n",