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:
parent
2569503afa
commit
8c8727e30f
1 changed files with 0 additions and 3 deletions
|
@ -339,9 +339,6 @@ lif_lifecycle_run(const struct lif_execute_opts *opts, struct lif_interface *ifa
|
||||||
if (lifname == NULL)
|
if (lifname == NULL)
|
||||||
lifname = iface->ifname;
|
lifname = iface->ifname;
|
||||||
|
|
||||||
if (!lif_lifecycle_query_dependents(opts, iface, lifname))
|
|
||||||
return false;
|
|
||||||
|
|
||||||
if (up)
|
if (up)
|
||||||
{
|
{
|
||||||
/* when going up, dependents go up first. */
|
/* when going up, dependents go up first. */
|
||||||
|
|
Loading…
Reference in a new issue