aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/udplite.c
diff options
context:
space:
mode:
authorPavel Emelyanov <xemul@openvz.org>2008-03-28 19:39:33 -0400
committerDavid S. Miller <davem@davemloft.net>2008-03-28 19:39:33 -0400
commitbdcde3d71a67e97f25e851f3ca97c9bb5ef03e7f (patch)
treeeab4a66777582718ffe2eff9038324331106ec18 /net/ipv4/udplite.c
parent60e7663d462af3994f292cb3691ea4f7371a9220 (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/udplite.c')
-rw-r--r--net/ipv4/udplite.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/net/ipv4/udplite.c b/net/ipv4/udplite.c
index 53f3ed496328..7c1e0271c0db 100644
--- a/net/ipv4/udplite.c
+++ b/net/ipv4/udplite.c
@@ -34,8 +34,6 @@ static struct net_protocol udplite_protocol = {
34 .netns_ok = 1, 34 .netns_ok = 1,
35}; 35};
36 36
37DEFINE_PROTO_INUSE(udplite)
38
39struct proto udplite_prot = { 37struct proto udplite_prot = {
40 .name = "UDP-Lite", 38 .name = "UDP-Lite",
41 .owner = THIS_MODULE, 39 .owner = THIS_MODULE,
@@ -60,7 +58,6 @@ struct proto udplite_prot = {
60 .compat_setsockopt = compat_udp_setsockopt, 58 .compat_setsockopt = compat_udp_setsockopt,
61 .compat_getsockopt = compat_udp_getsockopt, 59 .compat_getsockopt = compat_udp_getsockopt,
62#endif 60#endif
63 REF_PROTO_INUSE(udplite)
64}; 61};
65 62
66static struct inet_protosw udplite4_protosw = { 63static struct inet_protosw udplite4_protosw = {