mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00:00
[TCP]: Place file operations directly into tcp_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:
parent
52d6f3f11b
commit
68fcadd16c
3 changed files with 7 additions and 12 deletions
|
@ -2120,12 +2120,10 @@ out:
|
|||
return 0;
|
||||
}
|
||||
|
||||
static struct file_operations tcp6_seq_fops;
|
||||
static struct tcp_seq_afinfo tcp6_seq_afinfo = {
|
||||
.owner = THIS_MODULE,
|
||||
.name = "tcp6",
|
||||
.family = AF_INET6,
|
||||
.seq_fops = &tcp6_seq_fops,
|
||||
.seq_ops = {
|
||||
.show = tcp6_seq_show,
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue