]> 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)
commitacc37bb198bb35bfd0a39ad0b6d38768edc5d866
tree28960b4e201423c24aea140951b0f9dce524408c
parent0dbd527c228b36eab59bfa6b74c7b68d49a47158
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: cb10e8e2d4a508 ("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