remove logically dead code

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
Christian Brauner 2017-12-09 20:00:40 +01:00
parent 0e4adc1a33
commit a55f31bda2
No known key found for this signature in database
GPG Key ID: 8EB056D53EECB12D

View File

@ -766,8 +766,7 @@ static char **get_controllers(char **klist, char **nlist, char *line, int type)
return NULL;
p++;
}
if (!p)
return NULL;
/* note - if we change how mountinfo works, then our caller
* will need to verify /sys/fs/cgroup/ in this field */
if (strncmp(p, "/sys/fs/cgroup/", 15)) {