From 95100e754ef5e95978c0efe00313552063180c4c Mon Sep 17 00:00:00 2001 From: Li Zefan Date: Thu, 24 Jan 2013 14:31:11 +0800 Subject: [PATCH] --- yaml --- r: 350327 b: refs/heads/master c: 2a73991b76cbd38c4a0c6704449ccc08c89c3ff3 h: refs/heads/master i: 350325: fc13ab73c87f1ec0ee8d150ded45ecb37a44987a 350323: f0625b86079da42967ecba902dac35117c123d29 350319: 1f6fdb108deb6a0efcd352d09866874dc12f0063 v: v3 --- [refs] | 2 +- trunk/kernel/sched/debug.c | 7 ------- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/[refs] b/[refs] index d6acae64f4c0..a78d68e22137 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: ace783b9bbfa2182b4a561498db3f09a0c56bc79 +refs/heads/master: 2a73991b76cbd38c4a0c6704449ccc08c89c3ff3 diff --git a/trunk/kernel/sched/debug.c b/trunk/kernel/sched/debug.c index 2cd3c1b4e582..38df0db96608 100644 --- a/trunk/kernel/sched/debug.c +++ b/trunk/kernel/sched/debug.c @@ -110,13 +110,6 @@ static char *task_group_path(struct task_group *tg) if (autogroup_path(tg, group_path, PATH_MAX)) return group_path; - /* - * May be NULL if the underlying cgroup isn't fully-created yet - */ - if (!tg->css.cgroup) { - group_path[0] = '\0'; - return group_path; - } cgroup_path(tg->css.cgroup, group_path, PATH_MAX); return group_path; }