net: remove skb_frag_add_head
authorJiri Benc <jbenc@redhat.com>
Thu, 16 Jul 2015 19:50:50 +0000 (21:50 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Jul 2015 03:38:49 +0000 (20:38 -0700)
It's not used anywhere.

Signed-off-by: Jiri Benc <jbenc@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/skbuff.h

index af7a09650fa24b0181de169bc94f8341aae72e2b..6bd96fe9416a2a307be77ae98d923e50202168c0 100644 (file)
@@ -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)