diff options
author | Doug Moore <dougm@FreeBSD.org> | 2023-07-06 18:29:13 +0000 |
---|---|---|
committer | Doug Moore <dougm@FreeBSD.org> | 2023-07-06 18:29:13 +0000 |
commit | e08776813087f7926d6ec0a84dcfaba80c729c8b (patch) | |
tree | fb68437ebe413ce0fd4a9fdf57a4beb3891554c0 | |
parent | f4db342d44198973c1c7b9005d0c5683a582707e (diff) | |
download | src-e08776813087f7926d6ec0a84dcfaba80c729c8b.tar.gz src-e08776813087f7926d6ec0a84dcfaba80c729c8b.zip |
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
-rw-r--r-- | sys/cddl/contrib/opensolaris/uts/common/sys/sysmacros.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/cddl/contrib/opensolaris/uts/common/sys/sysmacros.h b/sys/cddl/contrib/opensolaris/uts/common/sys/sysmacros.h index 7b738c8b0d13..31e1657105cd 100644 --- a/sys/cddl/contrib/opensolaris/uts/common/sys/sysmacros.h +++ b/sys/cddl/contrib/opensolaris/uts/common/sys/sysmacros.h @@ -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; |