diff options
author | Rami Rosen <ramirose@gmail.com> | 2010-04-21 01:39:53 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-04-21 01:39:53 -0400 |
commit | ccb7c7732e2ceb4e81a7806faf1670be9681ccd2 (patch) | |
tree | 76508ab431133ca9a085a9e3fa62fbfed607c9fb /include/linux/skbuff.h | |
parent | 0eae88f31ca2b88911ce843452054139e028771f (diff) |
net: Remove two unnecessary exports (skbuff).
There is no need to export skb_under_panic() and skb_over_panic() in
skbuff.c, since these methods are used only in skbuff.c ; this patch
removes these two exports. It also marks these functions as 'static'
and removeS the extern declarations of them from
include/linux/skbuff.h
Signed-off-by: Rami Rosen <ramirose@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/skbuff.h')
-rw-r--r-- | include/linux/skbuff.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h index 38501d20650c..82f5116a89e4 100644 --- a/include/linux/skbuff.h +++ b/include/linux/skbuff.h | |||
@@ -470,10 +470,6 @@ extern int skb_cow_data(struct sk_buff *skb, int tailbits, | |||
470 | struct sk_buff **trailer); | 470 | struct sk_buff **trailer); |
471 | extern int skb_pad(struct sk_buff *skb, int pad); | 471 | extern int skb_pad(struct sk_buff *skb, int pad); |
472 | #define dev_kfree_skb(a) consume_skb(a) | 472 | #define dev_kfree_skb(a) consume_skb(a) |
473 | extern void skb_over_panic(struct sk_buff *skb, int len, | ||
474 | void *here); | ||
475 | extern void skb_under_panic(struct sk_buff *skb, int len, | ||
476 | void *here); | ||
477 | 473 | ||
478 | extern int skb_append_datato_frags(struct sock *sk, struct sk_buff *skb, | 474 | extern int skb_append_datato_frags(struct sock *sk, struct sk_buff *skb, |
479 | int getfrag(void *from, char *to, int offset, | 475 | int getfrag(void *from, char *to, int offset, |