]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/machine/machined.c
Bug #944: Deletion of unnecessary checks before a few calls of systemd functions
[thirdparty/systemd.git] / src / machine / machined.c
index 1eeeaf17a50420260df7869d1e265f0d5fb709c8..c8ad157326549f3004cc197f88552d6104ac1277 100644 (file)
@@ -355,8 +355,7 @@ int main(int argc, char *argv[]) {
         log_debug("systemd-machined stopped as pid "PID_FMT, getpid());
 
 finish:
-        if (m)
-                manager_free(m);
+        manager_free(m);
 
         return r < 0 ? EXIT_FAILURE : EXIT_SUCCESS;
 }