]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
lib/gcd: Remove use of CPU_NO_EFFICIENT_FFS macro
authorPaul Burton <paul.burton@mips.com>
Thu, 8 Nov 2018 23:44:56 +0000 (23:44 +0000)
committerPaul Burton <paul.burton@mips.com>
Mon, 12 Nov 2018 22:26:21 +0000 (14:26 -0800)
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 <paul.burton@mips.com>
Patchwork: https://patchwork.linux-mips.org/patch/21046/
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Zhaoxiu Zeng <zhaoxiu.zeng@gmail.com>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
lib/gcd.c

index 227dea9244257b014c36c54fb0768a961a5f5dcb..7948ab27f0a48332712f4e46ef2b93cbfc0e1a0e 100644 (file)
--- 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. */