summaryrefslogtreecommitdiff
path: root/kernel/cgroup.c
diff options
context:
space:
mode:
authorKevin Wilson <wkevils@gmail.com>2013-04-01 10:51:37 +0300
committerTejun Heo <tj@kernel.org>2013-04-03 14:04:33 -0700
commit1e2ccd1c0f67c3f958d6139de2496787b9a57182 (patch)
treee7e7748319a985836030c2261d3e5399badda437 /kernel/cgroup.c
parent1ae65ae92d77542f81c68269bc2f15bcf1ee4d6a (diff)
downloadlwn-1e2ccd1c0f67c3f958d6139de2496787b9a57182.tar.gz
lwn-1e2ccd1c0f67c3f958d6139de2496787b9a57182.zip
cgroup: remove unused parameter in cgroup_task_migrate().
This patch removes unused parameter from cgroup_task_migrate(). Signed-off-by: Kevin Wilson <wkevils@gmail.com> Acked-by: Acked-by: Li Zefan <lizefan@huawei.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'kernel/cgroup.c')
-rw-r--r--kernel/cgroup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/cgroup.c b/kernel/cgroup.c
index 04fa2abf94b2..4aee5bdd66c8 100644
--- a/kernel/cgroup.c
+++ b/kernel/cgroup.c
@@ -1911,7 +1911,7 @@ EXPORT_SYMBOL_GPL(cgroup_taskset_size);
*
* Must be called with cgroup_mutex and threadgroup locked.
*/
-static void cgroup_task_migrate(struct cgroup *cgrp, struct cgroup *oldcgrp,
+static void cgroup_task_migrate(struct cgroup *oldcgrp,
struct task_struct *tsk, struct css_set *newcg)
{
struct css_set *oldcg;
@@ -2084,7 +2084,7 @@ int cgroup_attach_task(struct cgroup *cgrp, struct task_struct *tsk,
*/
for (i = 0; i < group_size; i++) {
tc = flex_array_get(group, i);
- cgroup_task_migrate(cgrp, tc->cgrp, tc->task, tc->cg);
+ cgroup_task_migrate(tc->cgrp, tc->task, tc->cg);
}
/* nothing is sensitive to fork() after this point. */