diff options
author | Denis V. Lunev <den@openvz.org> | 2008-03-28 21:25:32 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-03-28 21:25:32 -0400 |
commit | 3ba9441bdf07370670a684e6d95dfc523476677f (patch) | |
tree | ec31a5f5c5e1fc0d807575c733a04d2adbf44c09 /net/ipv4/udplite.c | |
parent | a2be75c182cd16bc104919e33451ffda8b6f65b4 (diff) |
[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/ipv4/udplite.c')
-rw-r--r-- | net/ipv4/udplite.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/ipv4/udplite.c b/net/ipv4/udplite.c index 4add87553bce..148ae72af111 100644 --- a/net/ipv4/udplite.c +++ b/net/ipv4/udplite.c | |||
@@ -71,13 +71,11 @@ static struct inet_protosw udplite4_protosw = { | |||
71 | }; | 71 | }; |
72 | 72 | ||
73 | #ifdef CONFIG_PROC_FS | 73 | #ifdef CONFIG_PROC_FS |
74 | static struct file_operations udplite4_seq_fops; | ||
75 | static struct udp_seq_afinfo udplite4_seq_afinfo = { | 74 | static struct udp_seq_afinfo udplite4_seq_afinfo = { |
76 | .owner = THIS_MODULE, | 75 | .owner = THIS_MODULE, |
77 | .name = "udplite", | 76 | .name = "udplite", |
78 | .family = AF_INET, | 77 | .family = AF_INET, |
79 | .hashtable = udplite_hash, | 78 | .hashtable = udplite_hash, |
80 | .seq_fops = &udplite4_seq_fops, | ||
81 | .seq_ops = { | 79 | .seq_ops = { |
82 | .show = udp4_seq_show, | 80 | .show = udp4_seq_show, |
83 | }, | 81 | }, |