Simplify locking by using an intermediate lock variable.
authormpi <mpi@openbsd.org>
Mon, 22 Aug 2022 12:03:32 +0000 (12:03 +0000)
committermpi <mpi@openbsd.org>
Mon, 22 Aug 2022 12:03:32 +0000 (12:03 +0000)
commit0dea91ce81ba26e05986afcd3518a761bdb998e2
tree8e7a942630ab088fb731f2549c74eb75321a1589
parentda3acf12474752f7d54a1a606d1b4babe47c40f0
Simplify locking by using an intermediate lock variable.

While here get rid of the unused returned value of uvmpd_scan_inactive().

ok jsg@, kn@
sys/uvm/uvm_pdaemon.c