mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-05 23:02:50 +00:00
coverity: #1425857
remove logically dead code Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
parent
0e4adc1a33
commit
a55f31bda2
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user