aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorJianyu Zhan <nasa4836@gmail.com>2014-04-25 18:28:03 -0400
committerTejun Heo <tj@kernel.org>2014-04-25 18:28:03 -0400
commitf8719ccf7bc0858384c7e93d8c57fe69ae8c9eac (patch)
treef42b6cf97fec09fc1f539fdb4608fd38027309d7 /kernel
parent2f0edc04e702fc07d29621f9e361b9120a7594d0 (diff)
cgroup: remove orphaned cgroup_pidlist_seq_operations
6612f05b88fa309c9 ("cgroup: unify pidlist and other file handling") has removed the only user of cgroup_pidlist_seq_operations : cgroup_pidlist_open(). This patch removes it. Signed-off-by: Jianyu Zhan <nasa4836@gmail.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/cgroup.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/kernel/cgroup.c b/kernel/cgroup.c
index fb848be0ea7b..3849d3d2dfe1 100644
--- a/kernel/cgroup.c
+++ b/kernel/cgroup.c
@@ -3880,17 +3880,6 @@ static int cgroup_pidlist_show(struct seq_file *s, void *v)
3880 return seq_printf(s, "%d\n", *(int *)v); 3880 return seq_printf(s, "%d\n", *(int *)v);
3881} 3881}
3882 3882
3883/*
3884 * seq_operations functions for iterating on pidlists through seq_file -
3885 * independent of whether it's tasks or procs
3886 */
3887static const struct seq_operations cgroup_pidlist_seq_operations = {
3888 .start = cgroup_pidlist_start,
3889 .stop = cgroup_pidlist_stop,
3890 .next = cgroup_pidlist_next,
3891 .show = cgroup_pidlist_show,
3892};
3893
3894static u64 cgroup_read_notify_on_release(struct cgroup_subsys_state *css, 3883static u64 cgroup_read_notify_on_release(struct cgroup_subsys_state *css,
3895 struct cftype *cft) 3884 struct cftype *cft)
3896{ 3885{