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

Mitchell Horne <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.src
Message-ID <6a8883cf.19de5.10ee80a0__23282.4487307639$1787331553$gmane$org@gitrepo.freebsd.org>
The branch main has been updated by mhorne:

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

commit 76f14217f6051df414e435c3388d3f4bb388cc22
Author:     Mitchell Horne <[email protected]>
AuthorDate: 2026-08-21 16:57:12 +0000
Commit:     Mitchell Horne <[email protected]>
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)
 {
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.