diff options
author | Paul Burton <[email protected]> | 2018-11-08 23:44:56 +0000 |
---|---|---|
committer | Paul Burton <[email protected]> | 2018-11-12 14:26:21 -0800 |
commit | d0894409d1711271cf5060e8ffe9e56359544d19 (patch) | |
tree | 00e5e4a437d97d04a93fedf5ece927bcdaf69eec | |
parent | 57eeacede4db235891ddc37544262413f909763e (diff) |
lib/gcd: Remove use of CPU_NO_EFFICIENT_FFS macro
The CPU_NO_EFFICIENT_FFS pre-processor macro is no longer used, with all
architectures toggling the equivalent Kconfig symbol
CONFIG_CPU_NO_EFFICIENT_FFS instead. Remove our check for the unused
macro.
Signed-off-by: Paul Burton <[email protected]>
Patchwork: https://patchwork.linux-mips.org/patch/21046/
Cc: Andrew Morton <[email protected]>
Cc: Zhaoxiu Zeng <[email protected]>
Cc: [email protected]
Cc: [email protected]
-rw-r--r-- | lib/gcd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gcd.c b/lib/gcd.c index 227dea924425..7948ab27f0a4 100644 --- a/lib/gcd.c +++ b/lib/gcd.c @@ -10,7 +10,7 @@ * has decent hardware division. */ -#if !defined(CONFIG_CPU_NO_EFFICIENT_FFS) && !defined(CPU_NO_EFFICIENT_FFS) +#if !defined(CONFIG_CPU_NO_EFFICIENT_FFS) /* If __ffs is available, the even/odd algorithm benchmarks slower. */ |