Commit 68db38f1 authored by Li Zefan's avatar Li Zefan Committed by Linus Torvalds

cgroup: remove duplicate code in find_css_set()

The list head res->tasks gets initialized twice in find_css_set().
Signed-off-by: default avatarLi Zefan <>
Acked-by: default avatarPaul Menage <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent 8d53d55d
......@@ -470,7 +470,6 @@ static struct css_set *find_css_set(
/* Link this cgroup group into the list */
list_add(&res->list, &init_css_set.list);
return res;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment