Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp4341062pxb; Mon, 25 Oct 2021 02:19:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz3H5slSB5Xrbh1DmUegwDeioXLFNgSFc6mHDAjkgSKNuzKUHOtmdh9t9X6a3U0WeJO4zXf X-Received: by 2002:a50:d783:: with SMTP id w3mr18674481edi.380.1635153585181; Mon, 25 Oct 2021 02:19:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635153585; cv=none; d=google.com; s=arc-20160816; b=NUpFPYsdhx24BEz3Q/bzHWF3pgw5xRQWsoi/gLLnDCFu9PaWAmKuZhG+RmRKTWp0H/ QM32BTq7o5xRM6jIIguEh6qabw63tyd7Tm43O2kWMl0osJFDZWsGOJ/x0z+2pFvuvNLN f0cnp6wwAByEYnbl4hfphPBjbAAWH8FbDabgP1yELheSwVPtnrwX2r/P6x59oPQMqQW+ gAOi4X7P2OrwYRyVRbOsKJ1s//azNN5ijZCWJhWk+3QnTkb5Lu8+CSRMsX9OfcVYcLGh 4/rHpXNROHlBtVge8Eroyd1lDFrLeZuny/NOBc32QRPGQQvynfpg35Kq6obDP34kYWo1 YA4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:references:in-reply-to:cc:subject :to:reply-to:sender:from:dkim-signature:dkim-signature:date; bh=gz7K7AaPZk3bWb2+JOVzqJv7KOaHKmIFauAD1w7CMB8=; b=POEaUyLyVILRzZf7cSjH8kY8TFbul9/bhttwFOCoIdcH24BTI9zEIleD2tlXgzQUOA uU2/wrGVbzpJFPNR57Y2QeElDwZSUgDVwmwOGgljzmlsdgFknCyUJlVgdoCIRfGOfyMT KGoBzg2vrKLXn1BSHJjEVPJM30IqrcY8P5E3ajkm8AeX6xCxDeRfwT6UDtzTvSHs5gA3 PhI7UEnQ62ll2dZxSr0/AdBGcmohdPx+LbDhG1YkATbOAnGM53p90nIPyg8DKfW+NR/D 5WQd1KLw4z7dMngBn+NzfaIkuDQtPHyi7bCYo4zxX1kl1n1EUVCintYSasnbY72lSOdu 1nhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b="ceao6+j/"; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hr4si29802882ejc.651.2021.10.25.02.19.20; Mon, 25 Oct 2021 02:19:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b="ceao6+j/"; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232476AbhJYJQy (ORCPT + 99 others); Mon, 25 Oct 2021 05:16:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52046 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232227AbhJYJQw (ORCPT ); Mon, 25 Oct 2021 05:16:52 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 31358C061745; Mon, 25 Oct 2021 02:14:30 -0700 (PDT) Date: Mon, 25 Oct 2021 09:14:17 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1635153258; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=gz7K7AaPZk3bWb2+JOVzqJv7KOaHKmIFauAD1w7CMB8=; b=ceao6+j/PEuYCTGgpGRPj6LVlp/P7/ZucOrSwqwd6KL2nQeMiD3LW6XWjYsRPEDEt1wjD4 aoLK2IiXXJHamGzTWkQdKwp0qF6sQDiU+ja5rvz8stbsHI4seV/5cSw3IcjUn3pzVzDexS FeAzz+6ERvUwrM92lq9jVtSY3GUW9dakEKtsU6VR3VNaz7RxNmuhA39JUNRc8/hReuDIiA SDQj0gROrnSB/JOC/zw1HDAfjsD7OjOrVJYlI4uZmZ4MKF93jMBK9v5Yjryvy8ziKi3iaI NoH8xKlKt6Y6BdzKZ2uPNPMqKTvup2/MJL8Szjzql9yNPpJCdwKndWtzNAx0/g== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1635153258; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=gz7K7AaPZk3bWb2+JOVzqJv7KOaHKmIFauAD1w7CMB8=; b=kItfxv41HYYLeXo5vKUqvxJFiVdtNTMGwZFsnU8koWVOd5/ADUrRtp7YmtL3r+lDInIuFw Gbpx2QWDKlOm2dCg== From: "tip-bot2 for Rob Herring" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: x86/cleanups] x86/of: Kill unused early_init_dt_scan_chosen_arch() Cc: Rob Herring , Borislav Petkov , Frank Rowand , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20211022164642.2815706-1-robh@kernel.org> References: <20211022164642.2815706-1-robh@kernel.org> MIME-Version: 1.0 Message-ID: <163515325718.626.9514246389734008198.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following commit has been merged into the x86/cleanups branch of tip: Commit-ID: f2739ca15c414ebad88f4333e3186fd4144c1753 Gitweb: https://git.kernel.org/tip/f2739ca15c414ebad88f4333e3186fd4144c1753 Author: Rob Herring AuthorDate: Fri, 22 Oct 2021 11:46:42 -05:00 Committer: Borislav Petkov CommitterDate: Mon, 25 Oct 2021 10:56:37 +02:00 x86/of: Kill unused early_init_dt_scan_chosen_arch() There are no callers for early_init_dt_scan_chosen_arch(), so remove it. Signed-off-by: Rob Herring Signed-off-by: Borislav Petkov Reviewed-by: Frank Rowand Link: https://lkml.kernel.org/r/20211022164642.2815706-1-robh@kernel.org --- arch/x86/kernel/devicetree.c | 5 ----- include/linux/of_fdt.h | 1 - 2 files changed, 6 deletions(-) diff --git a/arch/x86/kernel/devicetree.c b/arch/x86/kernel/devicetree.c index 6a4cb71..78b2311 100644 --- a/arch/x86/kernel/devicetree.c +++ b/arch/x86/kernel/devicetree.c @@ -31,11 +31,6 @@ char __initdata cmd_line[COMMAND_LINE_SIZE]; int __initdata of_ioapic; -void __init early_init_dt_scan_chosen_arch(unsigned long node) -{ - BUG(); -} - void __init early_init_dt_add_memory_arch(u64 base, u64 size) { BUG(); diff --git a/include/linux/of_fdt.h b/include/linux/of_fdt.h index cf6a65b..cf48983 100644 --- a/include/linux/of_fdt.h +++ b/include/linux/of_fdt.h @@ -65,7 +65,6 @@ extern int early_init_dt_scan_memory(unsigned long node, const char *uname, extern int early_init_dt_scan_chosen_stdout(void); extern void early_init_fdt_scan_reserved_mem(void); extern void early_init_fdt_reserve_self(void); -extern void __init early_init_dt_scan_chosen_arch(unsigned long node); extern void early_init_dt_add_memory_arch(u64 base, u64 size); extern u64 dt_mem_next_cell(int s, const __be32 **cellp);