[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
@@ -189,7 +189,7 @@ struct udp_seq_afinfo {
|
||||
char *name;
|
||||
sa_family_t family;
|
||||
struct hlist_head *hashtable;
|
||||
struct file_operations *seq_fops;
|
||||
struct file_operations seq_fops;
|
||||
struct seq_operations seq_ops;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user