git: 3ef9ef5147d2 - stable/15 - libkern.h: remove HAVE_INLINE_* macros

From: Mitchell Horne <mhorne_at_FreeBSD.org>
Date: Thu, 03 Sep 2026 16:29:59 UTC
The branch stable/15 has been updated by mhorne:

URL: https://cgit.FreeBSD.org/src/commit/?id=3ef9ef5147d23d6bed18663f1836ad2f768fa1a8

commit 3ef9ef5147d23d6bed18663f1836ad2f768fa1a8
Author:     Mitchell Horne <mhorne@FreeBSD.org>
AuthorDate: 2026-08-21 16:57:12 +0000
Commit:     Mitchell Horne <mhorne@FreeBSD.org>
CommitDate: 2026-09-03 16:29:20 +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
    
    (cherry picked from commit 76f14217f6051df414e435c3388d3f4bb388cc22)
---
 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)
 {