summaryrefslogtreecommitdiffstats
path: root/net/ipv6/udp.c
diff options
context:
space:
mode:
authorDenis V. Lunev <den@openvz.org>2008-03-29 02:25:32 +0100
committerDavid S. Miller <davem@davemloft.net>2008-03-29 02:25:32 +0100
commit3ba9441bdf07370670a684e6d95dfc523476677f (patch)
treeec31a5f5c5e1fc0d807575c733a04d2adbf44c09 /net/ipv6/udp.c
parent[UDP]: Cleanup /proc/udp[6] creation/removal. (diff)
downloadlinux-3ba9441bdf07370670a684e6d95dfc523476677f.tar.xz
linux-3ba9441bdf07370670a684e6d95dfc523476677f.zip
[UDP]: Place file operations directly into udp_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/udp.c')
-rw-r--r--net/ipv6/udp.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/ipv6/udp.c b/net/ipv6/udp.c
index e35921a46689..ff8d53ecdd60 100644
--- a/net/ipv6/udp.c
+++ b/net/ipv6/udp.c
@@ -977,13 +977,11 @@ int udp6_seq_show(struct seq_file *seq, void *v)
return 0;
}
-static struct file_operations udp6_seq_fops;
static struct udp_seq_afinfo udp6_seq_afinfo = {
.owner = THIS_MODULE,
.name = "udp6",
.family = AF_INET6,
.hashtable = udp_hash,
- .seq_fops = &udp6_seq_fops,
.seq_ops = {
.show = udp6_seq_show,
},