[NET]: make skb_release_data() static
skb_release_data() no longer has any users in other files. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
c22751b73a
commit
5bba17127e
@ -272,7 +272,7 @@ static void skb_clone_fraglist(struct sk_buff *skb)
|
||||
skb_get(list);
|
||||
}
|
||||
|
||||
void skb_release_data(struct sk_buff *skb)
|
||||
static void skb_release_data(struct sk_buff *skb)
|
||||
{
|
||||
if (!skb->cloned ||
|
||||
!atomic_sub_return(skb->nohdr ? (1 << SKB_DATAREF_SHIFT) + 1 : 1,
|
||||
|
Reference in New Issue
Block a user