aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorstephen hemminger <stephen@networkplumber.org>2013-12-30 13:49:22 -0500
committerDavid S. Miller <davem@davemloft.net>2014-01-01 23:43:36 -0500
commit2173f8d953e76026bf6ede8ec81ad35ec158dae9 (patch)
tree1b429b28c565b1a8e7e4dd882966877a3279fc0a /include/linux
parent6da67d260873e157a8df28bc8b1b10d8e0cab099 (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.h2
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);
62extern int __netlink_change_ngroups(struct sock *sk, unsigned int groups); 62extern int __netlink_change_ngroups(struct sock *sk, unsigned int groups);
63extern int netlink_change_ngroups(struct sock *sk, unsigned int groups); 63extern int netlink_change_ngroups(struct sock *sk, unsigned int groups);
64extern void __netlink_clear_multicast_users(struct sock *sk, unsigned int group); 64extern void __netlink_clear_multicast_users(struct sock *sk, unsigned int group);
65extern void netlink_clear_multicast_users(struct sock *sk, unsigned int group);
66extern void netlink_ack(struct sk_buff *in_skb, struct nlmsghdr *nlh, int err); 65extern void netlink_ack(struct sk_buff *in_skb, struct nlmsghdr *nlh, int err);
67extern int netlink_has_listeners(struct sock *sk, unsigned int group); 66extern int netlink_has_listeners(struct sock *sk, unsigned int group);
68extern struct sk_buff *netlink_alloc_skb(struct sock *ssk, unsigned int size, 67extern struct sk_buff *netlink_alloc_skb(struct sock *ssk, unsigned int size,
@@ -168,7 +167,6 @@ struct netlink_tap {
168}; 167};
169 168
170extern int netlink_add_tap(struct netlink_tap *nt); 169extern int netlink_add_tap(struct netlink_tap *nt);
171extern int __netlink_remove_tap(struct netlink_tap *nt);
172extern int netlink_remove_tap(struct netlink_tap *nt); 170extern int netlink_remove_tap(struct netlink_tap *nt);
173 171
174#endif /* __LINUX_NETLINK_H */ 172#endif /* __LINUX_NETLINK_H */