[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>
This commit is contained in:
committed by
David S. Miller
parent
a2be75c182
commit
3ba9441bdf
@@ -71,13 +71,11 @@ static struct inet_protosw udplite4_protosw = {
|
||||
};
|
||||
|
||||
#ifdef CONFIG_PROC_FS
|
||||
static struct file_operations udplite4_seq_fops;
|
||||
static struct udp_seq_afinfo udplite4_seq_afinfo = {
|
||||
.owner = THIS_MODULE,
|
||||
.name = "udplite",
|
||||
.family = AF_INET,
|
||||
.hashtable = udplite_hash,
|
||||
.seq_fops = &udplite4_seq_fops,
|
||||
.seq_ops = {
|
||||
.show = udp4_seq_show,
|
||||
},
|
||||
|
Reference in New Issue
Block a user