Unverified Commit eae95dc7 by 2xsec Committed by Christian Brauner

coverity: #1438230

Logically dead code Signed-off-by: 's avatar2xsec <dh48.jeong@samsung.com>
parent 54a3b3df
...@@ -825,8 +825,6 @@ static char **cgv1_get_proc_mountinfo_controllers(char **klist, char **nlist, ch ...@@ -825,8 +825,6 @@ static char **cgv1_get_proc_mountinfo_controllers(char **klist, char **nlist, ch
return NULL; return NULL;
p++; p++;
} }
if (!p)
return NULL;
if (strncmp(p, "/sys/fs/cgroup/", 15) != 0) if (strncmp(p, "/sys/fs/cgroup/", 15) != 0)
return NULL; return NULL;
......
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