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/raw.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/raw.c')
-rw-r--r-- | net/ipv6/raw.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/net/ipv6/raw.c b/net/ipv6/raw.c index 830da4603697..c1e495f105ad 100644 --- a/net/ipv6/raw.c +++ b/net/ipv6/raw.c | |||
@@ -1171,8 +1171,6 @@ static int rawv6_init_sk(struct sock *sk) | |||
1171 | return(0); | 1171 | return(0); |
1172 | } | 1172 | } |
1173 | 1173 | ||
1174 | DEFINE_PROTO_INUSE(rawv6) | ||
1175 | |||
1176 | struct proto rawv6_prot = { | 1174 | struct proto rawv6_prot = { |
1177 | .name = "RAWv6", | 1175 | .name = "RAWv6", |
1178 | .owner = THIS_MODULE, | 1176 | .owner = THIS_MODULE, |
@@ -1196,7 +1194,6 @@ struct proto rawv6_prot = { | |||
1196 | .compat_setsockopt = compat_rawv6_setsockopt, | 1194 | .compat_setsockopt = compat_rawv6_setsockopt, |
1197 | .compat_getsockopt = compat_rawv6_getsockopt, | 1195 | .compat_getsockopt = compat_rawv6_getsockopt, |
1198 | #endif | 1196 | #endif |
1199 | REF_PROTO_INUSE(rawv6) | ||
1200 | }; | 1197 | }; |
1201 | 1198 | ||
1202 | #ifdef CONFIG_PROC_FS | 1199 | #ifdef CONFIG_PROC_FS |