summaryrefslogtreecommitdiffstats
path: root/net/ipv6/tcp_ipv6.c
diff options
context:
space:
mode:
authorDenis V. Lunev <den@openvz.org>2008-04-13 22:13:30 -0700
committerDavid S. Miller <davem@davemloft.net>2008-04-13 22:13:30 -0700
commit68fcadd16c371d5e0698ba366f33a4f990ce83ce (patch)
tree074c58f40e77dd03f464e5d68f7f00841fa68f96 /net/ipv6/tcp_ipv6.c
parent52d6f3f11bdb8c26fead701c9dbad08acd28063d (diff)
downloadkernel-crypto-68fcadd16c371d5e0698ba366f33a4f990ce83ce.tar.gz
kernel-crypto-68fcadd16c371d5e0698ba366f33a4f990ce83ce.tar.xz
kernel-crypto-68fcadd16c371d5e0698ba366f33a4f990ce83ce.zip
[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.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/ipv6/tcp_ipv6.c b/net/ipv6/tcp_ipv6.c
index 8bf59ee51cd..e33a3dc7a00 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,
},