summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJiri Benc <jbenc@redhat.com>2015-07-16 21:50:50 +0200
committerDavid S. Miller <davem@davemloft.net>2015-07-21 05:38:49 +0200
commit6acc23266054a9969737b435fa012f87465dbc50 (patch)
treeba1420c7536389143bd930fd321849c8d9a61d09
parentMerge branch 'offload_fwd_mark' (diff)
downloadlinux-6acc23266054a9969737b435fa012f87465dbc50.tar.xz
linux-6acc23266054a9969737b435fa012f87465dbc50.zip
net: remove skb_frag_add_head
It's not used anywhere. Signed-off-by: Jiri Benc <jbenc@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--include/linux/skbuff.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h
index af7a09650fa2..6bd96fe9416a 100644
--- a/include/linux/skbuff.h
+++ b/include/linux/skbuff.h
@@ -2678,12 +2678,6 @@ static inline void skb_frag_list_init(struct sk_buff *skb)
skb_shinfo(skb)->frag_list = NULL;
}
-static inline void skb_frag_add_head(struct sk_buff *skb, struct sk_buff *frag)
-{
- frag->next = skb_shinfo(skb)->frag_list;
- skb_shinfo(skb)->frag_list = frag;
-}
-
#define skb_walk_frags(skb, iter) \
for (iter = skb_shinfo(skb)->frag_list; iter; iter = iter->next)