[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Mon, 5 May 2008 21:21:54 +0300
From: Adrian Bunk <bunk@...nel.org>
To: Paul Menage <menage@...gle.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
linux-kernel@...r.kernel.org
Subject: [2.6 patch] make cgroup_seqfile_release() static
cgroup_seqfile_release() can become static.
Signed-off-by: Adrian Bunk <bunk@...nel.org>
---
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists