diff mbox

[net-next,6/7] ipv6: make udpv6_queue_rcv_skb static

Message ID 20170110181816.18991-7-sthemmin@microsoft.com
State Changes Requested, archived
Delegated to: David Miller
Headers show

Commit Message

Stephen Hemminger Jan. 10, 2017, 6:18 p.m. UTC
Only called once, and no prototype.

Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
---
 net/ipv6/udp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/net/ipv6/udp.c b/net/ipv6/udp.c
index 4d5c4eee4b3f..2f8ad6477eaf 100644
--- a/net/ipv6/udp.c
+++ b/net/ipv6/udp.c
@@ -555,7 +555,7 @@  void udpv6_encap_enable(void)
 }
 EXPORT_SYMBOL(udpv6_encap_enable);
 
-int udpv6_queue_rcv_skb(struct sock *sk, struct sk_buff *skb)
+static int udpv6_queue_rcv_skb(struct sock *sk, struct sk_buff *skb)
 {
 	struct udp_sock *up = udp_sk(sk);
 	int is_udplite = IS_UDPLITE(sk);