clockintr_dispatch: add intermediate pointer for clockintr_queue.cq_shadow
authorcheloha <cheloha@openbsd.org>
Sun, 10 Sep 2023 01:41:16 +0000 (01:41 +0000)
committercheloha <cheloha@openbsd.org>
Sun, 10 Sep 2023 01:41:16 +0000 (01:41 +0000)
commit00ef33eaacfea5d478edc1ba519b644a985cd4c2
tree7f1a73ebf075717833c5a6d2a45ffb3f544bea76
parent3e3c92c2dca3e3bcb38ad489efb32f2242ea7c29
clockintr_dispatch: add intermediate pointer for clockintr_queue.cq_shadow

Adding an intermediate pointer lets me shortens "cq->cq_shadow" to
just "shadow".  I think it makes the dispatch loop logic a little
easier to read.

While here, add a clarifying comment.
sys/kern/kern_clockintr.c