diff options
author | Amerigo Wang <amwang@redhat.com> | 2012-09-18 12:50:10 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-09-19 17:23:28 -0400 |
commit | d4915c087f7c2457c580efc16fe0bfa1a576274d (patch) | |
tree | 3502caff41521db74f97a9e13e09f43cc03eb0c1 /net/ipv6 | |
parent | b836c99fd6c9dfe52a69fa0ba36ec918f80ce02a (diff) |
ipv6: make ip6_frag_nqueues() and ip6_frag_mem() static inline
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: Michal Kubeček <mkubecek@suse.cz>
Cc: David Miller <davem@davemloft.net>
Signed-off-by: Cong Wang <amwang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6')
-rw-r--r-- | net/ipv6/reassembly.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/net/ipv6/reassembly.c b/net/ipv6/reassembly.c index 0ee553354ed5..cf74f4e79356 100644 --- a/net/ipv6/reassembly.c +++ b/net/ipv6/reassembly.c | |||
@@ -67,16 +67,6 @@ struct ip6frag_skb_cb | |||
67 | 67 | ||
68 | static struct inet_frags ip6_frags; | 68 | static struct inet_frags ip6_frags; |
69 | 69 | ||
70 | int ip6_frag_nqueues(struct net *net) | ||
71 | { | ||
72 | return net->ipv6.frags.nqueues; | ||
73 | } | ||
74 | |||
75 | int ip6_frag_mem(struct net *net) | ||
76 | { | ||
77 | return atomic_read(&net->ipv6.frags.mem); | ||
78 | } | ||
79 | |||
80 | static int ip6_frag_reasm(struct frag_queue *fq, struct sk_buff *prev, | 70 | static int ip6_frag_reasm(struct frag_queue *fq, struct sk_buff *prev, |
81 | struct net_device *dev); | 71 | struct net_device *dev); |
82 | 72 | ||