Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 244ef9b9 authored by Wang Chen's avatar Wang Chen Committed by David S. Miller
Browse files

bond: Kill directly reference of netdev->priv



Simply replace netdev->priv with netdev_priv().

Signed-off-by: default avatarWang Chen <wangchen@cn.fujitsu.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 97341249
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1992,7 +1992,7 @@ void bond_destroy(struct bonding *bond)

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)
		destroy_workqueue(bond->wq);