]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
udp: make function udp_skb_dtor_locked static
authorColin Ian King <colin.king@canonical.com>
Wed, 17 May 2017 08:50:36 +0000 (09:50 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 18 May 2017 14:12:40 +0000 (10:12 -0400)
commit64f5102dcb811b27d673eccc8cc0d76ce90981a4
tree28960b4e201423c24aea140951b0f9dce524408c
parentf646c75b79c31a7fc40211e7291287e2b99ee168
udp: make function udp_skb_dtor_locked static

Function udp_skb_dtor_locked does not need to be in global scope
so make it static to fix sparse warning:

net/ipv4/udp.c: warning: symbol 'udp_skb_dtor_locked' was not
declared. Should it be static?

Fixes: 6dfb4367cd911d ("udp: keep the sk_receive_queue held when splicing")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/udp.c