提交 244ef9b9 编写于 作者: W Wang Chen 提交者: David S. Miller

bond: Kill directly reference of netdev->priv

Simply replace netdev->priv with netdev_priv().
Signed-off-by: NWang Chen <wangchen@cn.fujitsu.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 97341249
...@@ -1992,7 +1992,7 @@ void bond_destroy(struct bonding *bond) ...@@ -1992,7 +1992,7 @@ void bond_destroy(struct bonding *bond)
static void bond_destructor(struct net_device *bond_dev) static void bond_destructor(struct net_device *bond_dev)
{ {
struct bonding *bond = bond_dev->priv; struct bonding *bond = netdev_priv(bond_dev);
if (bond->wq) if (bond->wq)
destroy_workqueue(bond->wq); destroy_workqueue(bond->wq);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册