Remove unused function - skb_frag_add_head
Subsystems (2)
PATCH 1/1 Remove unused function - skb_frag_add_head
From: Krishna Kumar <[email protected]>
Remove unused function - skb_frag_add_head
Signed-off-by Krishna Kumar <[email protected]>
--- include/linux/skbuff.h | 6 ------ 1 file changed, 6 deletions(-)
include/linux/skbuff.h +0 -6
@@ -1728,12 +1728,6 @@ static inline void skb_frag_list_init(stskb_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)
David Miller
maintainerFrom: Krishna Kumar <[email protected]>
Date: Fri, 15 Jan 2010 11:02:05 +0530
Quoted 5 lines
From: Krishna Kumar <[email protected]>
Remove unused function -
skb_frag_add_headSigned-off-by Krishna Kumar <[email protected]>
It rounds out the abstractions for accessing the fragment list.
All uses of the frag list need to be converted to these things so that we can finally change sk_buff to use struct list_head instead of a by-hand linked list.
So I'm not applying this.