core/namespace: remove invalid check

root cannot be NULL here, because it was allocated with alloca.

CID #1237769.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2014-10-03 20:42:09 -04:00
parent 7057bd9931
commit 1775f1ebc4
+2 -5
View File
@@ -341,11 +341,8 @@ fail:
unlink(busnode);
}
if (root) {
umount(root);
rmdir(root);
}
umount(root);
rmdir(root);
rmdir(temporary_mount);
return r;