aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/udp.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv6/udp.c')
-rw-r--r--net/ipv6/udp.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/net/ipv6/udp.c b/net/ipv6/udp.c
index aacbc82ecf0f..463ae4d448a3 100644
--- a/net/ipv6/udp.c
+++ b/net/ipv6/udp.c
@@ -999,8 +999,6 @@ void udp6_proc_exit(struct net *net) {
999 999
1000/* ------------------------------------------------------------------------ */ 1000/* ------------------------------------------------------------------------ */
1001 1001
1002DEFINE_PROTO_INUSE(udpv6)
1003
1004struct proto udpv6_prot = { 1002struct proto udpv6_prot = {
1005 .name = "UDPv6", 1003 .name = "UDPv6",
1006 .owner = THIS_MODULE, 1004 .owner = THIS_MODULE,
@@ -1027,7 +1025,6 @@ struct proto udpv6_prot = {
1027 .compat_setsockopt = compat_udpv6_setsockopt, 1025 .compat_setsockopt = compat_udpv6_setsockopt,
1028 .compat_getsockopt = compat_udpv6_getsockopt, 1026 .compat_getsockopt = compat_udpv6_getsockopt,
1029#endif 1027#endif
1030 REF_PROTO_INUSE(udpv6)
1031}; 1028};
1032 1029
1033static struct inet_protosw udpv6_protosw = { 1030static struct inet_protosw udpv6_protosw = {