[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>
This commit is contained in:
Pavel Emelyanov
2008-03-28 16:39:33 -07:00
committed by David S. Miller
parent 60e7663d46
commit bdcde3d71a
12 changed files with 0 additions and 41 deletions

View File

@@ -2140,8 +2140,6 @@ void tcp6_proc_exit(struct net *net)
}
#endif
DEFINE_PROTO_INUSE(tcpv6)
struct proto tcpv6_prot = {
.name = "TCPv6",
.owner = THIS_MODULE,
@@ -2177,7 +2175,6 @@ struct proto tcpv6_prot = {
.compat_setsockopt = compat_tcp_setsockopt,
.compat_getsockopt = compat_tcp_getsockopt,
#endif
REF_PROTO_INUSE(tcpv6)
};
static struct inet6_protocol tcpv6_protocol = {