lifecycle: remove redundant lif_state_upsert() call
this will be handled by lif_state_ref_if(), which also updates the refcounting.
This commit is contained in:
parent
be9857f66f
commit
e6c6f49143
1 changed files with 0 additions and 2 deletions
|
@ -364,8 +364,6 @@ lif_lifecycle_run(const struct lif_execute_opts *opts, struct lif_interface *ifa
|
||||||
if (!lif_lifecycle_run_phase(opts, iface, "post-up", lifname, up))
|
if (!lif_lifecycle_run_phase(opts, iface, "post-up", lifname, up))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
lif_state_upsert(state, lifname, iface);
|
|
||||||
|
|
||||||
lif_state_ref_if(state, lifname, iface);
|
lif_state_ref_if(state, lifname, iface);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue