]> git.baikalelectronics.ru Git - kernel.git/commit
skbuff: make __build_skb_around() return void
authorAlexander Lobakin <alobakin@pm.me>
Sat, 13 Feb 2021 14:11:26 +0000 (14:11 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 13 Feb 2021 22:32:03 +0000 (14:32 -0800)
commit483126b3b2c649c0ef95f67ac75d3c99390d6cc8
tree55b433ce9159feb4dff768ee03704feab6d9aa63
parentef28095fce663d0e12ec4b809e2ee71297cec8ab
skbuff: make __build_skb_around() return void

__build_skb_around() can never fail and always returns passed skb.
Make it return void to simplify and optimize the code.

Signed-off-by: Alexander Lobakin <alobakin@pm.me>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/skbuff.c