diff options
author | Denis V. Lunev <den@openvz.org> | 2008-04-13 22:13:30 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-04-13 22:13:30 -0700 |
commit | 68fcadd16c371d5e0698ba366f33a4f990ce83ce (patch) | |
tree | 074c58f40e77dd03f464e5d68f7f00841fa68f96 /net/ipv6/tcp_ipv6.c | |
parent | 52d6f3f11bdb8c26fead701c9dbad08acd28063d (diff) | |
download | op-kernel-dev-68fcadd16c371d5e0698ba366f33a4f990ce83ce.zip op-kernel-dev-68fcadd16c371d5e0698ba366f33a4f990ce83ce.tar.gz |
[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/tcp_ipv6.c')
-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 8bf59ee..e33a3dc 100644 --- a/net/ipv6/tcp_ipv6.c +++ b/net/ipv6/tcp_ipv6.c @@ -2120,12 +2120,10 @@ out: return 0; } -static struct file_operations tcp6_seq_fops; static struct tcp_seq_afinfo tcp6_seq_afinfo = { .owner = THIS_MODULE, .name = "tcp6", .family = AF_INET6, - .seq_fops = &tcp6_seq_fops, .seq_ops = { .show = tcp6_seq_show, }, |