瀏覽代碼

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>
Adrian Bunk 17 年之前
父節點
當前提交
96930a6365
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      kernel/cgroup.c

+ 1 - 1
kernel/cgroup.c

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