Remove always-false condition in amap_free KASSERT.
authordv <dv@openbsd.org>
Mon, 20 May 2024 17:03:36 +0000 (17:03 +0000)
committerdv <dv@openbsd.org>
Mon, 20 May 2024 17:03:36 +0000 (17:03 +0000)
commit2a6ea202e4433f5d8e6c28370bc7fa3140a41fb3
tree7a0241ef2ffcccece51b5a99cae3227474055ef5
parent0bc420b98d810be57d585455128c9b255163dd1d
Remove always-false condition in amap_free KASSERT.

The if-condition immediately preceding it already checks the value
so the first part of the KASSERT is redundant.

ok mpi@, miod@, jca@
sys/uvm/uvm_amap.c