clockintr: remove clockintr_init(), clockintr_flags
authorcheloha <cheloha@openbsd.org>
Sun, 17 Sep 2023 14:50:50 +0000 (14:50 +0000)
committercheloha <cheloha@openbsd.org>
Sun, 17 Sep 2023 14:50:50 +0000 (14:50 +0000)
commit0ed1bf01ac7e45759b65902d0ab711deb359316d
tree60862a425005dc3487eb7b9c4459306a7509575b
parenta886e62e977f8b1433cfdd607fe343094c45a307
clockintr: remove clockintr_init(), clockintr_flags

All the state initialization once done in clockintr_init() has been
moved to other parts of the kernel.  It's a dead function.  Remove it.

Likewise, the clockintr_flags variable no longer sports any meaningful
flags.  Remove it.  This frees up the CL_* flag namespace, which might
be useful to the clockintr frontend if we ever need to add behavior
flags to any of those functions.
22 files changed:
sys/arch/alpha/alpha/clock.c
sys/arch/amd64/amd64/lapic.c
sys/arch/amd64/isa/clock.c
sys/arch/arm/cortex/agtimer.c
sys/arch/arm/cortex/amptimer.c
sys/arch/arm64/dev/agtimer.c
sys/arch/armv7/omap/dmtimer.c
sys/arch/armv7/omap/gptimer.c
sys/arch/armv7/sunxi/sxitimer.c
sys/arch/hppa/dev/clock.c
sys/arch/i386/i386/lapic.c
sys/arch/i386/isa/clock.c
sys/arch/loongson/dev/glxclk.c
sys/arch/luna88k/luna88k/clock.c
sys/arch/macppc/macppc/clock.c
sys/arch/mips64/mips64/clock.c
sys/arch/powerpc64/powerpc64/clock.c
sys/arch/riscv64/riscv64/clock.c
sys/arch/sh/sh/clock.c
sys/arch/sparc64/sparc64/clock.c
sys/kern/kern_clockintr.c
sys/sys/clockintr.h