From: Paul Burton Date: Thu, 8 Nov 2018 23:44:56 +0000 (+0000) Subject: lib/gcd: Remove use of CPU_NO_EFFICIENT_FFS macro X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=d0894409d1711271cf5060e8ffe9e56359544d19;p=openwrt%2Fstaging%2Fblogic.git 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 Patchwork: https://patchwork.linux-mips.org/patch/21046/ Cc: Andrew Morton Cc: Zhaoxiu Zeng Cc: linux-mips@linux-mips.org Cc: linux-kernel@vger.kernel.org --- 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. */