aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-07-25 22:46:21 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-07-26 15:00:11 -0400
commit96930a6365c99c160138a395566e360b27348b8f (patch)
treec78d1d7f2cfcc863aa38726eddd3783814c6d174 /kernel
parent0e1451da4f928ae1c9d5ca617faebde9f02985db (diff)
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>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/cgroup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/cgroup.c b/kernel/cgroup.c
index 66ec9fd21e0c..89bd6fb7894f 100644
--- a/kernel/cgroup.c
+++ b/kernel/cgroup.c
@@ -1529,7 +1529,7 @@ static int cgroup_seqfile_show(struct seq_file *m, void *arg)
1529 return cft->read_seq_string(state->cgroup, cft, m); 1529 return cft->read_seq_string(state->cgroup, cft, m);
1530} 1530}
1531 1531
1532int cgroup_seqfile_release(struct inode *inode, struct file *file) 1532static int cgroup_seqfile_release(struct inode *inode, struct file *file)
1533{ 1533{
1534 struct seq_file *seq = file->private_data; 1534 struct seq_file *seq = file->private_data;
1535 kfree(seq->private); 1535 kfree(seq->private);