git: 76f14217f605 - main - libkern.h: remove HAVE_INLINE_* macros

From: Mitchell Horne <mhorne_at_FreeBSD.org>
Date: Fri, 21 Aug 2026 16:58:55 UTC
The branch main has been updated by mhorne:

URL: https://cgit.FreeBSD.org/src/commit/?id=76f14217f6051df414e435c3388d3f4bb388cc22

commit 76f14217f6051df414e435c3388d3f4bb388cc22
Author:     Mitchell Horne <mhorne@FreeBSD.org>
AuthorDate: 2026-08-21 16:57:12 +0000
Commit:     Mitchell Horne <mhorne@FreeBSD.org>
CommitDate: 2026-08-21 16:58:34 +0000

    libkern.h: remove HAVE_INLINE_* macros
    
    The final consumer of this was OpenZFS, fixed in ffaea0831973 (thanks
    mav@). That change has been present in all active OpenZFS release
    branches for at least 6 months. These can finally be retired.
    
    Reviewed by:    mav
    MFC after:      3 days
    Sponsored by:   The FreeBSD Foundation
    Differential Revision:  https://reviews.freebsd.org/D55201
---
 sys/sys/libkern.h | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/sys/sys/libkern.h b/sys/sys/libkern.h
index b9d395ba151f..64b1688fe768 100644
--- a/sys/sys/libkern.h
+++ b/sys/sys/libkern.h
@@ -131,17 +131,6 @@ int	 timingsafe_bcmp(const void *, const void *, size_t);
 void	*bsearch(const void *, const void *, size_t,
 	    size_t, int (*)(const void *, const void *));
 
-/*
- * MHTODO: remove the 'HAVE_INLINE_FOO' defines once use of these flags has
- * been purged everywhere. For now we provide them unconditionally.
- */
-#define	HAVE_INLINE_FFS
-#define	HAVE_INLINE_FFSL
-#define	HAVE_INLINE_FFSLL
-#define	HAVE_INLINE_FLS
-#define	HAVE_INLINE_FLSL
-#define	HAVE_INLINE_FLSLL
-
 static __inline __pure2 int
 ffs(int mask)
 {