Commit 6acc2326 authored by Jiri Benc's avatar Jiri Benc Committed by David S. Miller

net: remove skb_frag_add_head

It's not used anywhere.
Signed-off-by: default avatarJiri Benc <jbenc@redhat.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent bd265242
...@@ -2678,12 +2678,6 @@ static inline void skb_frag_list_init(struct sk_buff *skb) ...@@ -2678,12 +2678,6 @@ static inline void skb_frag_list_init(struct sk_buff *skb)
skb_shinfo(skb)->frag_list = NULL; 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) \ #define skb_walk_frags(skb, iter) \
for (iter = skb_shinfo(skb)->frag_list; iter; iter = iter->next) for (iter = skb_shinfo(skb)->frag_list; iter; iter = iter->next)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment