clockintr_schedule: tweak logic to eliminate early return
authorcheloha <cheloha@openbsd.org>
Sat, 9 Sep 2023 16:59:01 +0000 (16:59 +0000)
committercheloha <cheloha@openbsd.org>
Sat, 9 Sep 2023 16:59:01 +0000 (16:59 +0000)
commit16355e610f87c90560e01de785463f35d761244a
treede723392bd20d0988c75c88c6d6f13f4ab7bd37d
parentc7a8681c1a04a1cf6e98bf9d4ca5216e19cc4c2e
clockintr_schedule: tweak logic to eliminate early return

With the introduction of clockintr_schedule_locked(), clockintr_schedule()
is short enough that the early-return from the non-mutex path doesn't make
the function easier to read.  Move the mutex path into the else branch.
sys/kern/kern_clockintr.c