execute: no need to check for NULL when function right after does anyway

This commit is contained in:
Lennart Poettering 2019-03-07 16:55:19 +01:00
parent 44ffcbaea4
commit da6bc6ed05

View file

@ -4860,8 +4860,7 @@ static ExecRuntime* exec_runtime_free(ExecRuntime *rt, bool destroy) {
}
static void exec_runtime_freep(ExecRuntime **rt) {
if (*rt)
(void) exec_runtime_free(*rt, false);
(void) exec_runtime_free(*rt, false);
}
static int exec_runtime_allocate(ExecRuntime **ret) {