Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753486AbbG2LXE (ORCPT ); Wed, 29 Jul 2015 07:23:04 -0400 Received: from faui03.informatik.uni-erlangen.de ([131.188.30.103]:43706 "EHLO faui03.informatik.uni-erlangen.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752354AbbG2LXB (ORCPT ); Wed, 29 Jul 2015 07:23:01 -0400 From: Jonas Rabenstein To: Catalin Marinas , Will Deacon , Ard Biesheuvel , Mark Rutland , Hanjun Guo , Lorenzo Pieralisi , Marc Zyngier , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Valentin Rothberg , Paul Bolle , Jonas Rabenstein Subject: [PATCH] arm64: remove dead-code depending on CONFIG_UP_LATE_INIT Date: Wed, 29 Jul 2015 13:07:57 +0200 Message-Id: <1438168077-19243-1-git-send-email-jonas.rabenstein@studium.uni-erlangen.de> 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: 1230 Lines: 40 Commit 4b3dc9679cf7 ("arm64: force CONFIG_SMP=y and remove redundant #ifdefs") removed UP_LATE_INIT from Kconfig, as it had !SMP as dependency and therfore can not be selected anymore. Remove dead #ifdef-block depending on UP_LATE_INIT in arch/arm64/kernel/setup.c Signed-off-by: Jonas Rabenstein --- I found this inconsistency using the undertaker and undertaker-checkpatch tools (https://undertaker.cs.fau.de/). arch/arm64/kernel/setup.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/arch/arm64/kernel/setup.c b/arch/arm64/kernel/setup.c index 0533f0b..d512ac8 100644 --- a/arch/arm64/kernel/setup.c +++ b/arch/arm64/kernel/setup.c @@ -213,13 +213,6 @@ void __init do_post_cpus_up_work(void) apply_alternatives_all(); } -#ifdef CONFIG_UP_LATE_INIT -void __init up_late_init(void) -{ - do_post_cpus_up_work(); -} -#endif /* CONFIG_UP_LATE_INIT */ - static void __init setup_processor(void) { u64 features; -- 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/