]> git.baikalelectronics.ru Git - kernel.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)
commit54b218999738e520357ef8702a025500c7f42707
tree28960b4e201423c24aea140951b0f9dce524408c
parente4300e6b5bfdc3747f56c710a5f9e9e2852d155a
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: 2a4fae643b92e1 ("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