* [PATCH 2/3] cgroup: remove orphaned cgroup_pidlist_seq_operations
@ 2014-04-17 15:29 Jianyu Zhan
0 siblings, 0 replies; only message in thread
From: Jianyu Zhan @ 2014-04-17 15:29 UTC (permalink / raw)
To: tj-DgEjT+Ai2ygdnm+yROfE0A, lizefan-hv44wF8Li93QT0dZR+AlfA
Cc: cgroups-u79uwXL29TY76Z2rM5mHXA,
containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA,
linux-kernel-u79uwXL29TY76Z2rM5mHXA,
nasa4836-Re5JQEeQqe8AvxtiuMwx3w
Commit 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-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
---
kernel/cgroup.c | 11 -----------
1 file changed, 11 deletions(-)
diff --git a/kernel/cgroup.c b/kernel/cgroup.c
index b261798..38a9cd0 100644
--- a/kernel/cgroup.c
+++ b/kernel/cgroup.c
@@ -3883,17 +3883,6 @@ static int cgroup_pidlist_show(struct seq_file *s, void *v)
return seq_printf(s, "%d\n", *(int *)v);
}
-/*
- * seq_operations functions for iterating on pidlists through seq_file -
- * independent of whether it's tasks or procs
- */
-static const struct seq_operations cgroup_pidlist_seq_operations = {
- .start = cgroup_pidlist_start,
- .stop = cgroup_pidlist_stop,
- .next = cgroup_pidlist_next,
- .show = cgroup_pidlist_show,
-};
-
static u64 cgroup_read_notify_on_release(struct cgroup_subsys_state *css,
struct cftype *cft)
{
--
1.9.0.GIT
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2014-04-17 15:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-17 15:29 [PATCH 2/3] cgroup: remove orphaned cgroup_pidlist_seq_operations Jianyu Zhan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).