core: drop pointless assert()

We checked this literally two lines earlier, no point in checking so
quickly again.
This commit is contained in:
Lennart Poettering
2021-04-15 11:26:40 +02:00
committed by Zbigniew Jędrzejewski-Szmek
parent 64e8e419d9
commit 5c9f1c68f0
-1
View File
@@ -1281,7 +1281,6 @@ static unsigned manager_dispatch_stop_when_unneeded_queue(Manager *m) {
while ((u = m->stop_when_unneeded_queue)) {
_cleanup_(sd_bus_error_free) sd_bus_error error = SD_BUS_ERROR_NULL;
assert(m->stop_when_unneeded_queue);
assert(u->in_stop_when_unneeded_queue);
LIST_REMOVE(stop_when_unneeded_queue, m->stop_when_unneeded_queue, u);