Commit 4da0783a authored by Hirofumi Ogawa's avatar Hirofumi Ogawa Committed by David S. Miller

[NET]: Cleanup mis-usage of seq_release_private

These doesn't allocate memory and doesn't use seq->private. However
kfree() ignores NULL, so these are not the problem.

This patch just cleans these up.
Signed-off-by: default avatarOGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Signed-off-by: default avatarDavid S. Miller <davem@redhat.com>
parent 67aadcaa
......@@ -432,7 +432,7 @@ static struct file_operations rt_cpu_seq_fops = {
.open = rt_cpu_seq_open,
.read = seq_read,
.llseek = seq_lseek,
.release = seq_release_private,
.release = seq_release,
};
#endif /* CONFIG_PROC_FS */
......
......@@ -449,6 +449,6 @@ struct file_operations discovery_seq_fops = {
.open = discovery_seq_open,
.read = seq_read,
.llseek = seq_lseek,
.release = seq_release_private,
.release = seq_release,
};
#endif
......@@ -62,7 +62,7 @@ static struct file_operations ircomm_proc_fops = {
.open = ircomm_seq_open,
.read = seq_read,
.llseek = seq_lseek,
.release = seq_release_private,
.release = seq_release,
};
#endif /* CONFIG_PROC_FS */
......
......@@ -1093,7 +1093,7 @@ struct file_operations irias_seq_fops = {
.open = irias_seq_open,
.read = seq_read,
.llseek = seq_lseek,
.release = seq_release_private,
.release = seq_release,
};
#endif /* PROC_FS */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment