diff options
author | Adrian Bunk <bunk@stusta.de> | 2007-04-26 03:57:41 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2007-04-26 03:57:41 -0400 |
commit | 42bad1da506cafa7041a02ab84033a724afe88ac (patch) | |
tree | 2850b3483c2fd05341c32663f4adb8f2ce7506da /include/net/netlink.h | |
parent | 55404bca6c45595fee1a546f1a0cc616aeef0b00 (diff) |
[NETLINK]: Possible cleanups.
- make the following needlessly global variables static:
- core/rtnetlink.c: struct rtnl_msg_handlers[]
- netfilter/nf_conntrack_proto.c: struct nf_ct_protos[]
- make the following needlessly global functions static:
- core/rtnetlink.c: rtnl_dump_all()
- netlink/af_netlink.c: netlink_queue_skip()
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/netlink.h')
-rw-r--r-- | include/net/netlink.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/net/netlink.h b/include/net/netlink.h index 2e4c90a98a7f..0bf325c29aff 100644 --- a/include/net/netlink.h +++ b/include/net/netlink.h | |||
@@ -217,8 +217,6 @@ struct nl_info { | |||
217 | extern void netlink_run_queue(struct sock *sk, unsigned int *qlen, | 217 | extern void netlink_run_queue(struct sock *sk, unsigned int *qlen, |
218 | int (*cb)(struct sk_buff *, | 218 | int (*cb)(struct sk_buff *, |
219 | struct nlmsghdr *)); | 219 | struct nlmsghdr *)); |
220 | extern void netlink_queue_skip(struct nlmsghdr *nlh, | ||
221 | struct sk_buff *skb); | ||
222 | extern int nlmsg_notify(struct sock *sk, struct sk_buff *skb, | 220 | extern int nlmsg_notify(struct sock *sk, struct sk_buff *skb, |
223 | u32 pid, unsigned int group, int report, | 221 | u32 pid, unsigned int group, int report, |
224 | gfp_t flags); | 222 | gfp_t flags); |