aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/tcp_ipv6.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv6/tcp_ipv6.c')
-rw-r--r--net/ipv6/tcp_ipv6.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/net/ipv6/tcp_ipv6.c b/net/ipv6/tcp_ipv6.c
index 323c7e06ef4..6d851c3c3db 100644
--- a/net/ipv6/tcp_ipv6.c
+++ b/net/ipv6/tcp_ipv6.c
@@ -2140,8 +2140,6 @@ void tcp6_proc_exit(struct net *net)
2140} 2140}
2141#endif 2141#endif
2142 2142
2143DEFINE_PROTO_INUSE(tcpv6)
2144
2145struct proto tcpv6_prot = { 2143struct proto tcpv6_prot = {
2146 .name = "TCPv6", 2144 .name = "TCPv6",
2147 .owner = THIS_MODULE, 2145 .owner = THIS_MODULE,
@@ -2177,7 +2175,6 @@ struct proto tcpv6_prot = {
2177 .compat_setsockopt = compat_tcp_setsockopt, 2175 .compat_setsockopt = compat_tcp_setsockopt,
2178 .compat_getsockopt = compat_tcp_getsockopt, 2176 .compat_getsockopt = compat_tcp_getsockopt,
2179#endif 2177#endif
2180 REF_PROTO_INUSE(tcpv6)
2181}; 2178};
2182 2179
2183static struct inet6_protocol tcpv6_protocol = { 2180static struct inet6_protocol tcpv6_protocol = {