summaryrefslogtreecommitdiffstats
path: root/net/core
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-06-29 22:02:35 +0200
committerDavid S. Miller <davem@sunset.davemloft.net>2006-06-30 01:58:30 +0200
commit5bba17127e7c78e819560519449db237e1b0f99b (patch)
treee2a0700004fd8a0ae56cfbe54ed952c73bfef3bf /net/core
parent[NETFILTE] ipv4: Fix typo (Bugzilla #6753) (diff)
downloadlinux-5bba17127e7c78e819560519449db237e1b0f99b.tar.xz
linux-5bba17127e7c78e819560519449db237e1b0f99b.zip
[NET]: make skb_release_data() static
skb_release_data() no longer has any users in other files. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core')
-rw-r--r--net/core/skbuff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/skbuff.c b/net/core/skbuff.c
index dfef9eece83e..a1c9ecf4f1e0 100644
--- a/net/core/skbuff.c
+++ b/net/core/skbuff.c
@@ -272,7 +272,7 @@ static void skb_clone_fraglist(struct sk_buff *skb)
skb_get(list);
}
-void skb_release_data(struct sk_buff *skb)
+static void skb_release_data(struct sk_buff *skb)
{
if (!skb->cloned ||
!atomic_sub_return(skb->nohdr ? (1 << SKB_DATAREF_SHIFT) + 1 : 1,