diff options
author | Pavel Emelyanov <xemul@openvz.org> | 2008-03-29 00:39:33 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-03-29 00:39:33 +0100 |
commit | bdcde3d71a67e97f25e851f3ca97c9bb5ef03e7f (patch) | |
tree | eab4a66777582718ffe2eff9038324331106ec18 /net/ipv6/udplite.c | |
parent | [SOCK]: Drop per-proto inuse init and fre functions (v2). (diff) | |
download | linux-bdcde3d71a67e97f25e851f3ca97c9bb5ef03e7f.tar.xz linux-bdcde3d71a67e97f25e851f3ca97c9bb5ef03e7f.zip |
[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/udplite.c')
-rw-r--r-- | net/ipv6/udplite.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/net/ipv6/udplite.c b/net/ipv6/udplite.c index 706c5c375a01..c5f5357d115d 100644 --- a/net/ipv6/udplite.c +++ b/net/ipv6/udplite.c @@ -35,8 +35,6 @@ static struct inet6_protocol udplitev6_protocol = { .flags = INET6_PROTO_NOPOLICY|INET6_PROTO_FINAL, }; -DEFINE_PROTO_INUSE(udplitev6) - struct proto udplitev6_prot = { .name = "UDPLITEv6", .owner = THIS_MODULE, @@ -60,7 +58,6 @@ struct proto udplitev6_prot = { .compat_setsockopt = compat_udpv6_setsockopt, .compat_getsockopt = compat_udpv6_getsockopt, #endif - REF_PROTO_INUSE(udplitev6) }; static struct inet_protosw udplite6_protosw = { |