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:
Adrian Bunk 2008-07-25 19:46:21 -07:00 committed by Linus Torvalds
parent 0e1451da4f
commit 96930a6365

View file

@ -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);