lifecycle: drop redundant lif_lifecycle_query_dependents().

since we now precompile the full dependency tree, including depths,
we no longer need to re-query each leaf for dependency information.
This commit is contained in:
Ariadne Conill 2020-09-09 17:40:57 -06:00
parent 2569503afa
commit 8c8727e30f

View file

@ -339,9 +339,6 @@ lif_lifecycle_run(const struct lif_execute_opts *opts, struct lif_interface *ifa
if (lifname == NULL)
lifname = iface->ifname;
if (!lif_lifecycle_query_dependents(opts, iface, lifname))
return false;
if (up)
{
/* when going up, dependents go up first. */