From 27b293b0229d620a19dd8ebe18dc870b597640b6 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Fri, 28 Aug 2020 15:09:43 +0000 Subject: [PATCH] remove splbio and splcam splbio and splcan have been completely removed from the tree. We can now remove their definitions here. They've been nops for a long time and were only preserved to give hints on how to lock drivers. All drivers have been deleted or converted, so they can be deleted now. --- sys/sys/systm.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/sys/systm.h b/sys/sys/systm.h index cadd3994dd9d..2a71e2416fb2 100644 --- a/sys/sys/systm.h +++ b/sys/sys/systm.h @@ -497,8 +497,6 @@ void kern_reboot(int) __dead2; void shutdown_nice(int); /* Stubs for obsolete functions that used to be for interrupt management */ -static __inline intrmask_t splbio(void) { return 0; } -static __inline intrmask_t splcam(void) { return 0; } static __inline intrmask_t splclock(void) { return 0; } static __inline intrmask_t splhigh(void) { return 0; } static __inline intrmask_t splimp(void) { return 0; }