summaryrefslogtreecommitdiffstats
path: root/net/ipv6/tcp_ipv6.c
diff options
context:
space:
mode:
authorDenis V. Lunev <den@openvz.org>2008-04-14 07:13:30 +0200
committerDavid S. Miller <davem@davemloft.net>2008-04-14 07:13:30 +0200
commit68fcadd16c371d5e0698ba366f33a4f990ce83ce (patch)
tree074c58f40e77dd03f464e5d68f7f00841fa68f96 /net/ipv6/tcp_ipv6.c
parent[TCP]: Cleanup /proc/tcp[6] creation/removal. (diff)
downloadlinux-68fcadd16c371d5e0698ba366f33a4f990ce83ce.tar.xz
linux-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 8bf59ee51cdb..e33a3dc7a000 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,
},