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/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/ipv4/raw.c')
-rw-r--r-- | net/ipv4/raw.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/net/ipv4/raw.c b/net/ipv4/raw.c index d965f0a39c84..349205048557 100644 --- a/net/ipv4/raw.c +++ b/net/ipv4/raw.c | |||
@@ -818,8 +818,6 @@ static int raw_ioctl(struct sock *sk, int cmd, unsigned long arg) | |||
818 | } | 818 | } |
819 | } | 819 | } |
820 | 820 | ||
821 | DEFINE_PROTO_INUSE(raw) | ||
822 | |||
823 | struct proto raw_prot = { | 821 | struct proto raw_prot = { |
824 | .name = "RAW", | 822 | .name = "RAW", |
825 | .owner = THIS_MODULE, | 823 | .owner = THIS_MODULE, |
@@ -842,7 +840,6 @@ struct proto raw_prot = { | |||
842 | .compat_setsockopt = compat_raw_setsockopt, | 840 | .compat_setsockopt = compat_raw_setsockopt, |
843 | .compat_getsockopt = compat_raw_getsockopt, | 841 | .compat_getsockopt = compat_raw_getsockopt, |
844 | #endif | 842 | #endif |
845 | REF_PROTO_INUSE(raw) | ||
846 | }; | 843 | }; |
847 | 844 | ||
848 | #ifdef CONFIG_PROC_FS | 845 | #ifdef CONFIG_PROC_FS |