diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2015-03-07 13:40:48 -0500 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2015-03-07 13:40:48 -0500 |
commit | 132764a2236fd6a4acb0e8d698f135c186677ad4 (patch) | |
tree | 7a745b0bac32fc42c634f1a7246f38c2094c679f /src | |
parent | c5abf22514b3925aa6f0d4a3f36f76799bf1911b (diff) |
shared/machine-pool: remove unnecessary check
CID #128739.
Diffstat (limited to 'src')
-rw-r--r-- | src/shared/machine-pool.c | 3 |
1 files changed, 1 insertions, 2 deletions
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); |