From 132764a2236fd6a4acb0e8d698f135c186677ad4 Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Sat, 7 Mar 2015 13:40:48 -0500 Subject: shared/machine-pool: remove unnecessary check CID #128739. --- src/shared/machine-pool.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/shared') diff --git a/src/shared/machine-pool.c b/src/shared/machine-pool.c index 3eafb9443a..e7671a3c5e 100644 --- a/src/shared/machine-pool.c +++ b/src/shared/machine-pool.c @@ -151,8 +151,7 @@ static int setup_machine_raw(uint64_t size, sd_bus_error *error) { return r; fail: - if (tmp) - unlink_noerrno(tmp); + unlink_noerrno(tmp); if (pid > 1) kill_and_sigcont(pid, SIGKILL); -- cgit v1.2.3-54-g00ecf