]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
[NET]: make skb_release_data() static
authorAdrian Bunk <bunk@stusta.de>
Thu, 29 Jun 2006 20:02:35 +0000 (13:02 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 29 Jun 2006 23:58:30 +0000 (16:58 -0700)
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>
arch/x86_64/kernel/functionlist
include/linux/skbuff.h
net/core/skbuff.c

index 2bcebdc3eedbc193546c7b28b26af627368dc306..01fa23580c85f4dd707f166dca06f49226924078 100644 (file)
 *(.text.__end_that_request_first)
 *(.text.wake_up_bit)
 *(.text.unuse_mm)
-*(.text.skb_release_data)
 *(.text.shrink_icache_memory)
 *(.text.sched_balance_self)
 *(.text.__pmd_alloc)
index e74c294929a0792c038a2aa91199e2f6ae030859..59918be91d0a95c203e43356ae95371861e97132 100644 (file)
@@ -1304,7 +1304,6 @@ extern void              skb_copy_and_csum_dev(const struct sk_buff *skb, u8 *to);
 extern void           skb_split(struct sk_buff *skb,
                                 struct sk_buff *skb1, const u32 len);
 
-extern void           skb_release_data(struct sk_buff *skb);
 extern struct sk_buff *skb_segment(struct sk_buff *skb, int features);
 
 static inline void *skb_header_pointer(const struct sk_buff *skb, int offset,
index dfef9eece83e1cb30e5fa88450d7545b2b8c3a8d..a1c9ecf4f1e077c205a5e383cabce391b0243134 100644 (file)
@@ -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,