diff options
author | Denis V. Lunev <den@openvz.org> | 2008-03-28 21:24:26 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-03-28 21:24:26 -0400 |
commit | dda61925f84d89e2f2a4597d6298a05a2bc05c20 (patch) | |
tree | 8d66baedac68ed6a1c026f0142ab405f5c733597 /net/ipv6/udplite.c | |
parent | 997feb5e7a24ce155c1d3bea9d0b5c6530bb6197 (diff) |
[UDP]: Move seq_ops from udp_iter_state to udp_seq_afinfo.
No need to create seq_operations for each instance of 'netstat'.
Signed-off-by: Denis V. Lunev <den@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/udplite.c')
-rw-r--r-- | net/ipv6/udplite.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/net/ipv6/udplite.c b/net/ipv6/udplite.c index c5f5357d115d..710366c3f0a6 100644 --- a/net/ipv6/udplite.c +++ b/net/ipv6/udplite.c | |||
@@ -102,8 +102,10 @@ static struct udp_seq_afinfo udplite6_seq_afinfo = { | |||
102 | .name = "udplite6", | 102 | .name = "udplite6", |
103 | .family = AF_INET6, | 103 | .family = AF_INET6, |
104 | .hashtable = udplite_hash, | 104 | .hashtable = udplite_hash, |
105 | .seq_show = udp6_seq_show, | ||
106 | .seq_fops = &udplite6_seq_fops, | 105 | .seq_fops = &udplite6_seq_fops, |
106 | .seq_ops = { | ||
107 | .show = udp6_seq_show, | ||
108 | }, | ||
107 | }; | 109 | }; |
108 | 110 | ||
109 | static int udplite6_proc_init_net(struct net *net) | 111 | static int udplite6_proc_init_net(struct net *net) |