Merge remote-tracking branch 'regulator/fix/palmas' into tmp
[firefly-linux-kernel-4.4.55.git] / kernel / sched / debug.c
index c496eb3c6459874411caea0a8f9481c66763a8f6..75024a673520b9c5e0e506b1e0963d782cc84c5d 100644 (file)
@@ -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;
 }