diff options
author | Denis V. Lunev <den@openvz.org> | 2008-03-28 18:25:32 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-03-28 18:25:32 -0700 |
commit | 3ba9441bdf07370670a684e6d95dfc523476677f (patch) | |
tree | ec31a5f5c5e1fc0d807575c733a04d2adbf44c09 /net/ipv6/udplite.c | |
parent | a2be75c182cd16bc104919e33451ffda8b6f65b4 (diff) | |
download | op-kernel-dev-3ba9441bdf07370670a684e6d95dfc523476677f.zip op-kernel-dev-3ba9441bdf07370670a684e6d95dfc523476677f.tar.gz |
[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/udplite.c')
-rw-r--r-- | net/ipv6/udplite.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/ipv6/udplite.c b/net/ipv6/udplite.c index 710366c..5adf651 100644 --- a/net/ipv6/udplite.c +++ b/net/ipv6/udplite.c @@ -96,13 +96,11 @@ void udplitev6_exit(void) } #ifdef CONFIG_PROC_FS -static struct file_operations udplite6_seq_fops; static struct udp_seq_afinfo udplite6_seq_afinfo = { .owner = THIS_MODULE, .name = "udplite6", .family = AF_INET6, .hashtable = udplite_hash, - .seq_fops = &udplite6_seq_fops, .seq_ops = { .show = udp6_seq_show, }, |