Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030865AbbD1Qpj (ORCPT ); Tue, 28 Apr 2015 12:45:39 -0400 Received: from mail-wi0-f179.google.com ([209.85.212.179]:36166 "EHLO mail-wi0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030505AbbD1Qph (ORCPT ); Tue, 28 Apr 2015 12:45:37 -0400 From: Valentin Rothberg To: linux@arm.linux.org.uk, ard.biesheuvel@linaro.org, nico@linaro.org, nsekhar@ti.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Valentin Rothberg Subject: [PATCH] arch/arm/mm/proc-arm925.S: remove dead #ifdef block Date: Tue, 28 Apr 2015 18:45:29 +0200 Message-Id: <1430239529-15726-1-git-send-email-valentinrothberg@gmail.com> X-Mailer: git-send-email 2.1.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1287 Lines: 37 The block could never be compiled; CPU_ICACHE_STREAMING_DISABLE has not been defined in Kconfig since the very first Git commit. Hence, we can safely remove the entire block. Signed-off-by: Valentin Rothberg --- There is a similar looking option 'CPU_ICACHE_DISABLE'. However, I decided to remove the entire block since it could not be compiled for such a long time. I detected this issue with scripts/checkkconfigsymbols.py --- arch/arm/mm/proc-arm925.S | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/arm/mm/proc-arm925.S b/arch/arm/mm/proc-arm925.S index ede8c54ab4aa..32a47cc19076 100644 --- a/arch/arm/mm/proc-arm925.S +++ b/arch/arm/mm/proc-arm925.S @@ -441,9 +441,6 @@ ENTRY(cpu_arm925_set_pte_ext) .type __arm925_setup, #function __arm925_setup: mov r0, #0 -#if defined(CONFIG_CPU_ICACHE_STREAMING_DISABLE) - orr r0,r0,#1 << 7 -#endif /* Transparent on, D-cache clean & flush mode. See NOTE2 above */ orr r0,r0,#1 << 1 @ transparent mode on -- 2.1.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/