clockintr: rename "clockintr_cancel_locked" to "clockqueue_pend_delete"
authorcheloha <cheloha@openbsd.org>
Fri, 8 Sep 2023 22:14:57 +0000 (22:14 +0000)
committercheloha <cheloha@openbsd.org>
Fri, 8 Sep 2023 22:14:57 +0000 (22:14 +0000)
commit83ca3f0ff71837caa8b727607765dabdf91ad391
tree9ac019e7d5a366199cdc4c340fef65ef8af5fada
parent10ccf613e771a7c430e25b8cf722b86b9b14051c
clockintr: rename "clockintr_cancel_locked" to "clockqueue_pend_delete"

The function clockintr_cancel_locked() is poorly named.  "Cancel" is a
broad word that connotes too much.  "clockintr" implies that we are
mainly operating on the clockintr itself, which is untrue: cq_pend,
the particular data structure, is important.

clockqueue_pend_delete() is a much better name: it specifies the data
structure we're operating on ("cq_pend") and the fundamental operation
at work ("delete").
sys/kern/kern_clockintr.c