bond: Kill directly reference of netdev->priv
Subsystems (3)
PATCH 1/1 bond: Kill directly reference of netdev->priv
Simply replace netdev->priv with netdev_priv().
Signed-off-by Wang Chen <[email protected]>
--- drivers/net/bonding/bond_main.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/net/bonding/bond_main.c +1 -1
@@ -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);
Signature · 1 line
1.5.3.4
From: Wang Chen <[email protected]>
Date: Tue, 02 Dec 2008 21:32:44 +0800
Quoted 3 lines
Simply replace
netdev->privwithnetdev_priv().Signed-off-by Wang Chen <[email protected]>
Applied.