mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 21:38:32 +08:00
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>
This commit is contained in:
parent
bd265242c1
commit
6acc232660
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user