diff options
Diffstat (limited to 'net/ipv6')
-rw-r--r-- | net/ipv6/udp.c | 2 | ||||
-rw-r--r-- | net/ipv6/udplite.c | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/net/ipv6/udp.c b/net/ipv6/udp.c index e35921a46689..ff8d53ecdd60 100644 --- a/net/ipv6/udp.c +++ b/net/ipv6/udp.c | |||
@@ -977,13 +977,11 @@ int udp6_seq_show(struct seq_file *seq, void *v) | |||
977 | return 0; | 977 | return 0; |
978 | } | 978 | } |
979 | 979 | ||
980 | static struct file_operations udp6_seq_fops; | ||
981 | static struct udp_seq_afinfo udp6_seq_afinfo = { | 980 | static struct udp_seq_afinfo udp6_seq_afinfo = { |
982 | .owner = THIS_MODULE, | 981 | .owner = THIS_MODULE, |
983 | .name = "udp6", | 982 | .name = "udp6", |
984 | .family = AF_INET6, | 983 | .family = AF_INET6, |
985 | .hashtable = udp_hash, | 984 | .hashtable = udp_hash, |
986 | .seq_fops = &udp6_seq_fops, | ||
987 | .seq_ops = { | 985 | .seq_ops = { |
988 | .show = udp6_seq_show, | 986 | .show = udp6_seq_show, |
989 | }, | 987 | }, |
diff --git a/net/ipv6/udplite.c b/net/ipv6/udplite.c index 710366c3f0a6..5adf651d0721 100644 --- a/net/ipv6/udplite.c +++ b/net/ipv6/udplite.c | |||
@@ -96,13 +96,11 @@ void udplitev6_exit(void) | |||
96 | } | 96 | } |
97 | 97 | ||
98 | #ifdef CONFIG_PROC_FS | 98 | #ifdef CONFIG_PROC_FS |
99 | static struct file_operations udplite6_seq_fops; | ||
100 | static struct udp_seq_afinfo udplite6_seq_afinfo = { | 99 | static struct udp_seq_afinfo udplite6_seq_afinfo = { |
101 | .owner = THIS_MODULE, | 100 | .owner = THIS_MODULE, |
102 | .name = "udplite6", | 101 | .name = "udplite6", |
103 | .family = AF_INET6, | 102 | .family = AF_INET6, |
104 | .hashtable = udplite_hash, | 103 | .hashtable = udplite_hash, |
105 | .seq_fops = &udplite6_seq_fops, | ||
106 | .seq_ops = { | 104 | .seq_ops = { |
107 | .show = udp6_seq_show, | 105 | .show = udp6_seq_show, |
108 | }, | 106 | }, |