diff options
| author | stephen hemminger <stephen@networkplumber.org> | 2013-12-30 13:49:22 -0500 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2014-01-01 23:43:36 -0500 |
| commit | 2173f8d953e76026bf6ede8ec81ad35ec158dae9 (patch) | |
| tree | 1b429b28c565b1a8e7e4dd882966877a3279fc0a /include/linux | |
| parent | 6da67d260873e157a8df28bc8b1b10d8e0cab099 (diff) | |
netlink: cleanup tap related functions
Cleanups in netlink_tap code
* remove unused function netlink_clear_multicast_users
* make local function static
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Reviewed-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/netlink.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/netlink.h b/include/linux/netlink.h index 7a6c396a263b..aad8eeaf416d 100644 --- a/include/linux/netlink.h +++ b/include/linux/netlink.h | |||
| @@ -62,7 +62,6 @@ extern void netlink_kernel_release(struct sock *sk); | |||
| 62 | extern int __netlink_change_ngroups(struct sock *sk, unsigned int groups); | 62 | extern int __netlink_change_ngroups(struct sock *sk, unsigned int groups); |
| 63 | extern int netlink_change_ngroups(struct sock *sk, unsigned int groups); | 63 | extern int netlink_change_ngroups(struct sock *sk, unsigned int groups); |
| 64 | extern void __netlink_clear_multicast_users(struct sock *sk, unsigned int group); | 64 | extern void __netlink_clear_multicast_users(struct sock *sk, unsigned int group); |
| 65 | extern void netlink_clear_multicast_users(struct sock *sk, unsigned int group); | ||
| 66 | extern void netlink_ack(struct sk_buff *in_skb, struct nlmsghdr *nlh, int err); | 65 | extern void netlink_ack(struct sk_buff *in_skb, struct nlmsghdr *nlh, int err); |
| 67 | extern int netlink_has_listeners(struct sock *sk, unsigned int group); | 66 | extern int netlink_has_listeners(struct sock *sk, unsigned int group); |
| 68 | extern struct sk_buff *netlink_alloc_skb(struct sock *ssk, unsigned int size, | 67 | extern struct sk_buff *netlink_alloc_skb(struct sock *ssk, unsigned int size, |
| @@ -168,7 +167,6 @@ struct netlink_tap { | |||
| 168 | }; | 167 | }; |
| 169 | 168 | ||
| 170 | extern int netlink_add_tap(struct netlink_tap *nt); | 169 | extern int netlink_add_tap(struct netlink_tap *nt); |
| 171 | extern int __netlink_remove_tap(struct netlink_tap *nt); | ||
| 172 | extern int netlink_remove_tap(struct netlink_tap *nt); | 170 | extern int netlink_remove_tap(struct netlink_tap *nt); |
| 173 | 171 | ||
| 174 | #endif /* __LINUX_NETLINK_H */ | 172 | #endif /* __LINUX_NETLINK_H */ |
