make cgroup_seqfile_release() static
cgroup_seqfile_release() can become static. Signed-off-by: Adrian Bunk <bunk@kernel.org> Acked-by: Paul Menage <menage@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
0e1451da4f
commit
96930a6365
1 changed files with 1 additions and 1 deletions
|
@ -1529,7 +1529,7 @@ static int cgroup_seqfile_show(struct seq_file *m, void *arg)
|
||||||
return cft->read_seq_string(state->cgroup, cft, m);
|
return cft->read_seq_string(state->cgroup, cft, m);
|
||||||
}
|
}
|
||||||
|
|
||||||
int cgroup_seqfile_release(struct inode *inode, struct file *file)
|
static int cgroup_seqfile_release(struct inode *inode, struct file *file)
|
||||||
{
|
{
|
||||||
struct seq_file *seq = file->private_data;
|
struct seq_file *seq = file->private_data;
|
||||||
kfree(seq->private);
|
kfree(seq->private);
|
||||||
|
|
Loading…
Reference in a new issue