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/ipv4/tcp_ipv4.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/ipv4/tcp_ipv4.c')
-rw-r--r-- | net/ipv4/tcp_ipv4.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/net/ipv4/tcp_ipv4.c b/net/ipv4/tcp_ipv4.c index 2a5881c81778..ef141b841d2f 100644 --- a/net/ipv4/tcp_ipv4.c +++ b/net/ipv4/tcp_ipv4.c | |||
@@ -2451,8 +2451,6 @@ void tcp4_proc_exit(void) | |||
2451 | } | 2451 | } |
2452 | #endif /* CONFIG_PROC_FS */ | 2452 | #endif /* CONFIG_PROC_FS */ |
2453 | 2453 | ||
2454 | DEFINE_PROTO_INUSE(tcp) | ||
2455 | |||
2456 | struct proto tcp_prot = { | 2454 | struct proto tcp_prot = { |
2457 | .name = "TCP", | 2455 | .name = "TCP", |
2458 | .owner = THIS_MODULE, | 2456 | .owner = THIS_MODULE, |
@@ -2488,7 +2486,6 @@ struct proto tcp_prot = { | |||
2488 | .compat_setsockopt = compat_tcp_setsockopt, | 2486 | .compat_setsockopt = compat_tcp_setsockopt, |
2489 | .compat_getsockopt = compat_tcp_getsockopt, | 2487 | .compat_getsockopt = compat_tcp_getsockopt, |
2490 | #endif | 2488 | #endif |
2491 | REF_PROTO_INUSE(tcp) | ||
2492 | }; | 2489 | }; |
2493 | 2490 | ||
2494 | void __init tcp_v4_init(void) | 2491 | void __init tcp_v4_init(void) |