diff options
author | Florian Westphal <fw@strlen.de> | 2016-02-18 15:03:27 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-02-18 11:42:19 -0500 |
commit | 905f0a739ad82c6371fb0cb0e71db14a750702ad (patch) | |
tree | 598583bc99bea92b280d0487c6ce910ece519a99 /net/netfilter/nfnetlink.c | |
parent | 263ea09084d172cac6e40459a690babe8de8e448 (diff) | |
download | op-kernel-dev-905f0a739ad82c6371fb0cb0e71db14a750702ad.zip op-kernel-dev-905f0a739ad82c6371fb0cb0e71db14a750702ad.tar.gz |
nfnetlink: remove nfnetlink_alloc_skb
Following mmapped netlink removal this code can be simplified by
removing the alloc wrapper.
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/netfilter/nfnetlink.c')
-rw-r--r-- | net/netfilter/nfnetlink.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/net/netfilter/nfnetlink.c b/net/netfilter/nfnetlink.c index a7ba233..9a99f68 100644 --- a/net/netfilter/nfnetlink.c +++ b/net/netfilter/nfnetlink.c @@ -127,13 +127,6 @@ int nfnetlink_has_listeners(struct net *net, unsigned int group) } EXPORT_SYMBOL_GPL(nfnetlink_has_listeners); -struct sk_buff *nfnetlink_alloc_skb(struct net *net, unsigned int size, - u32 dst_portid, gfp_t gfp_mask) -{ - return netlink_alloc_skb(net->nfnl, size, dst_portid, gfp_mask); -} -EXPORT_SYMBOL_GPL(nfnetlink_alloc_skb); - int nfnetlink_send(struct sk_buff *skb, struct net *net, u32 portid, unsigned int group, int echo, gfp_t flags) { |