mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
net: Remove useless function skb_header_release
There is no one which would invokes the function skb_header_release. So just remove it now. Signed-off-by: Gao Feng <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
dd54379749
commit
242c1a28eb
3 changed files with 2 additions and 21 deletions
|
|
@ -69,7 +69,7 @@ int batadv_skb_head_push(struct sk_buff *skb, unsigned int len)
|
|||
int result;
|
||||
|
||||
/* TODO: We must check if we can release all references to non-payload
|
||||
* data using skb_header_release in our skbs to allow skb_cow_header to
|
||||
* data using __skb_header_release in our skbs to allow skb_cow_header to
|
||||
* work optimally. This means that those skbs are not allowed to read
|
||||
* or write any data which is before the current position of skb->data
|
||||
* after that call and thus allow other skbs with the same data buffer
|
||||
|
|
|
|||
Loading…
Reference in a new issue