inline_fls: remove redundant INLINE_FLS test

HAS_INLINE_FLS and similar macros are defined always.
Removes the redundant tests for these always-true conditions.
Reviewed by:	mhorne
Differential Revision:	https://reviews.freebsd.org/D40707
This commit is contained in:
Doug Moore 2023-07-06 13:29:13 -05:00
parent f4db342d44
commit e087768130

View file

@ -392,7 +392,7 @@ extern unsigned char bcd_to_byte[256];
static __inline int
highbit(unsigned long i)
{
#if defined(__FreeBSD__) && defined(_KERNEL) && defined(HAVE_INLINE_FLSL)
#if defined(__FreeBSD__) && defined(_KERNEL)
return (flsl(i));
#else
int h = 1;
@ -430,7 +430,7 @@ highbit(unsigned long i)
static __inline int
highbit64(uint64_t i)
{
#if defined(__FreeBSD__) && defined(_KERNEL) && defined(HAVE_INLINE_FLSLL)
#if defined(__FreeBSD__) && defined(_KERNEL)
return (flsll(i));
#else
int h = 1;