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 <gfree.wind@vip.163.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
dd54379749
commit
242c1a28eb
@@ -245,7 +245,7 @@ struct sk_buff *asix_tx_fixup(struct usbnet *dev, struct sk_buff *skb,
|
||||
* - We are allowed to put 4 bytes at tail if skb_cloned()
|
||||
* is false (and if we have 4 bytes of tailroom)
|
||||
*
|
||||
* TCP packets for example are cloned, but skb_header_release()
|
||||
* TCP packets for example are cloned, but __skb_header_release()
|
||||
* was called in tcp stack, allowing us to use headroom for our needs.
|
||||
*/
|
||||
if (!skb_header_cloned(skb) &&
|
||||
|
Reference in New Issue
Block a user