aboutsummaryrefslogtreecommitdiffstats
path: root/net/dccp/ipv6.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/dccp/ipv6.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/dccp/ipv6.c')
-rw-r--r--net/dccp/ipv6.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/net/dccp/ipv6.c b/net/dccp/ipv6.c
index 2fec1af1a8c3..ea3f32648618 100644
--- a/net/dccp/ipv6.c
+++ b/net/dccp/ipv6.c
@@ -1100,8 +1100,6 @@ static struct timewait_sock_ops dccp6_timewait_sock_ops = {
1100 .twsk_obj_size = sizeof(struct dccp6_timewait_sock), 1100 .twsk_obj_size = sizeof(struct dccp6_timewait_sock),
1101}; 1101};
1102 1102
1103DEFINE_PROTO_INUSE(dccp_v6)
1104
1105static struct proto dccp_v6_prot = { 1103static struct proto dccp_v6_prot = {
1106 .name = "DCCPv6", 1104 .name = "DCCPv6",
1107 .owner = THIS_MODULE, 1105 .owner = THIS_MODULE,
@@ -1131,7 +1129,6 @@ static struct proto dccp_v6_prot = {
1131 .compat_setsockopt = compat_dccp_setsockopt, 1129 .compat_setsockopt = compat_dccp_setsockopt,
1132 .compat_getsockopt = compat_dccp_getsockopt, 1130 .compat_getsockopt = compat_dccp_getsockopt,
1133#endif 1131#endif
1134 REF_PROTO_INUSE(dccp_v6)
1135}; 1132};
1136 1133
1137static struct inet6_protocol dccp_v6_protocol = { 1134static struct inet6_protocol dccp_v6_protocol = {