network: drop invalid assertion

The link may not have corresponding .network file.
Note that in that case, link_ipv4ll_enabled() and link_dhcp4_enabled()
returns false. So, it is safe to drop the assertion.

Fixes #12422.
This commit is contained in:
Yu Watanabe 2019-04-28 09:06:13 +02:00 committed by Lennart Poettering
parent 8b6cd93044
commit 51aba17b88
1 changed files with 0 additions and 1 deletions

View File

@ -1854,7 +1854,6 @@ static int link_acquire_ipv4_conf(Link *link) {
int r;
assert(link);
assert(link->network);
assert(link->manager);
assert(link->manager->event);