When handle_uninitialized_path() moves a path from INIT_MISSING_UDEV to INIT_FAILED, it has already waited for conf->retrigger_delay seconds. It might as well check the path state now, instead of waiting for the next iteration. Reviewed-by: Martin Wilck <mwilck@xxxxxxxx> Signed-off-by: Benjamin Marzinski <bmarzins@xxxxxxxxxx> --- multipathd/main.c | 1 - 1 file changed, 1 deletion(-) diff --git a/multipathd/main.c b/multipathd/main.c index 2331f18e..f9451302 100644 --- a/multipathd/main.c +++ b/multipathd/main.c @@ -2672,7 +2672,6 @@ handle_uninitialized_path(struct vectors * vecs, struct path * pp, * place. */ pp->initialized = INIT_FAILED; - return 0; } } -- 2.45.0