projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9734124
)
bond: Kill directly reference of netdev->priv
author
Wang Chen
<wangchen@cn.fujitsu.com>
Thu, 4 Dec 2008 05:14:04 +0000
(21:14 -0800)
committer
David S. Miller
<davem@davemloft.net>
Thu, 4 Dec 2008 05:14:04 +0000
(21:14 -0800)
Simply replace netdev->priv with netdev_priv().
Signed-off-by: Wang Chen <wangchen@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_main.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/bonding/bond_main.c
b/drivers/net/bonding/bond_main.c
index a339a80527374e9fc3ffbc74d8ed00ca166ee0b7..e422dbaa25b44448de8a762ee323df90f92ca973 100644
(file)
--- a/
drivers/net/bonding/bond_main.c
+++ b/
drivers/net/bonding/bond_main.c
@@
-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);