diff options
author | Pavel Emelyanov <xemul@openvz.org> | 2008-03-28 19:39:33 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-03-28 19:39:33 -0400 |
commit | bdcde3d71a67e97f25e851f3ca97c9bb5ef03e7f (patch) | |
tree | eab4a66777582718ffe2eff9038324331106ec18 /net/ipv6/tcp_ipv6.c | |
parent | 60e7663d462af3994f292cb3691ea4f7371a9220 (diff) |
[SOCK]: Drop inuse pcounter from struct proto (v2).
An uppercut - do not use the pcounter on struct proto.
Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Acked-by: Eric Dumazet <dada1@cosmosbay.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/tcp_ipv6.c')
-rw-r--r-- | net/ipv6/tcp_ipv6.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/net/ipv6/tcp_ipv6.c b/net/ipv6/tcp_ipv6.c index 323c7e06ef43..6d851c3c3db9 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 | ||
2143 | DEFINE_PROTO_INUSE(tcpv6) | ||
2144 | |||
2145 | struct proto tcpv6_prot = { | 2143 | struct 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 | ||
2183 | static struct inet6_protocol tcpv6_protocol = { | 2180 | static struct inet6_protocol tcpv6_protocol = { |