freebsd_network: Remove bogus KASSERT.

As pointed out by halamix, root_size is set to > 0 during
radix_bitmap creation, and never changed after that. So
this is a bogus check.

Fixes #14941.
This commit is contained in:
Augustin Cavalier 2020-04-23 01:05:33 -04:00
parent ccb11fb4f2
commit 5332b1ce28

View File

@ -62,9 +62,6 @@ delete_unrhdr(struct unrhdr* idStore)
mtx_lock(idStore->storeMutex);
KASSERT(idStore->idBuffer->root_size == 0,
("ID-Store: %s: some ids are still in use..", __func__));
radix_bitmap_destroy(idStore->idBuffer);
mtx_unlock(idStore->storeMutex);