aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/raw.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv4/raw.c')
-rw-r--r--net/ipv4/raw.c3
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
821DEFINE_PROTO_INUSE(raw)
822
823struct proto raw_prot = { 821struct 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