提交 7bc531dd 编写于 作者: O Or Gerlitz 提交者: Roland Dreier

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: NOr Gerlitz <ogerlitz@voltaire.com>
Signed-off-by: NRoland Dreier <rolandd@cisco.com>
上级 bafff974
...@@ -814,11 +814,9 @@ static void ipoib_neigh_cleanup(struct neighbour *n) ...@@ -814,11 +814,9 @@ static void ipoib_neigh_cleanup(struct neighbour *n)
struct ipoib_ah *ah = NULL; struct ipoib_ah *ah = NULL;
neigh = *to_ipoib_neigh(n); neigh = *to_ipoib_neigh(n);
if (neigh) { if (neigh)
priv = netdev_priv(neigh->dev); priv = netdev_priv(neigh->dev);
ipoib_dbg(priv, "neigh_destructor for bonding device: %s\n", else
n->dev->name);
} else
return; return;
ipoib_dbg(priv, ipoib_dbg(priv,
"neigh_cleanup for %06x " IPOIB_GID_FMT "\n", "neigh_cleanup for %06x " IPOIB_GID_FMT "\n",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册