[2.6 patch] make cgroup_seqfile_release() static

From: Adrian Bunk
Date: Mon May 05 2008 - 14:24:20 EST


cgroup_seqfile_release() can become static.

Signed-off-by: Adrian Bunk <bunk@xxxxxxxxxx>

---
f08ef145219300d3279c37d22f29a22fcbcdd138 diff --git a/kernel/cgroup.c b/kernel/cgroup.c
index b9d467d..ea4b8f1 100644
--- a/kernel/cgroup.c
+++ b/kernel/cgroup.c
@@ -1560,7 +1560,7 @@ static int cgroup_seqfile_show(struct seq_file *m, void *arg)
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;
kfree(seq->private);

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/