Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 215410
b: refs/heads/master
c: 8d8a0b1
h: refs/heads/master
v: v3
  • Loading branch information
stephen hemminger authored and David S. Miller committed Oct 21, 2010
1 parent 18afb89 commit f5a4b54
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 10 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6f747aca5e61778190d1e27bdc469f49149f0230
refs/heads/master: 8d8a0b1cc2a8f9794a3f1f747089b6a93774408d
1 change: 0 additions & 1 deletion trunk/include/net/rtnetlink.h
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ struct rtnl_link_ops {

extern int __rtnl_link_register(struct rtnl_link_ops *ops);
extern void __rtnl_link_unregister(struct rtnl_link_ops *ops);
extern void rtnl_kill_links(struct net *net, struct rtnl_link_ops *ops);

extern int rtnl_link_register(struct rtnl_link_ops *ops);
extern void rtnl_link_unregister(struct rtnl_link_ops *ops);
Expand Down
8 changes: 0 additions & 8 deletions trunk/net/core/rtnetlink.c
Original file line number Diff line number Diff line change
Expand Up @@ -299,14 +299,6 @@ static void __rtnl_kill_links(struct net *net, struct rtnl_link_ops *ops)
unregister_netdevice_many(&list_kill);
}

void rtnl_kill_links(struct net *net, struct rtnl_link_ops *ops)
{
rtnl_lock();
__rtnl_kill_links(net, ops);
rtnl_unlock();
}
EXPORT_SYMBOL_GPL(rtnl_kill_links);

/**
* __rtnl_link_unregister - Unregister rtnl_link_ops from rtnetlink.
* @ops: struct rtnl_link_ops * to unregister
Expand Down

0 comments on commit f5a4b54

Please sign in to comment.