diff options
author | Denis V. Lunev <den@openvz.org> | 2008-04-14 01:13:30 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-04-14 01:13:30 -0400 |
commit | 68fcadd16c371d5e0698ba366f33a4f990ce83ce (patch) | |
tree | 074c58f40e77dd03f464e5d68f7f00841fa68f96 /net/ipv6 | |
parent | 52d6f3f11bdb8c26fead701c9dbad08acd28063d (diff) |
[TCP]: Place file operations directly into tcp_seq_afinfo.
No need to have separate never-used variable.
Signed-off-by: Denis V. Lunev <den@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6')
-rw-r--r-- | net/ipv6/tcp_ipv6.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/ipv6/tcp_ipv6.c b/net/ipv6/tcp_ipv6.c index 8bf59ee51cdb..e33a3dc7a000 100644 --- a/net/ipv6/tcp_ipv6.c +++ b/net/ipv6/tcp_ipv6.c | |||
@@ -2120,12 +2120,10 @@ out: | |||
2120 | return 0; | 2120 | return 0; |
2121 | } | 2121 | } |
2122 | 2122 | ||
2123 | static struct file_operations tcp6_seq_fops; | ||
2124 | static struct tcp_seq_afinfo tcp6_seq_afinfo = { | 2123 | static struct tcp_seq_afinfo tcp6_seq_afinfo = { |
2125 | .owner = THIS_MODULE, | 2124 | .owner = THIS_MODULE, |
2126 | .name = "tcp6", | 2125 | .name = "tcp6", |
2127 | .family = AF_INET6, | 2126 | .family = AF_INET6, |
2128 | .seq_fops = &tcp6_seq_fops, | ||
2129 | .seq_ops = { | 2127 | .seq_ops = { |
2130 | .show = tcp6_seq_show, | 2128 | .show = tcp6_seq_show, |
2131 | }, | 2129 | }, |