From: "tip-bot2 for Rob Herring" <tip-bot2@linutronix.de>
To: linux-tip-commits@vger.kernel.org
Cc: Rob Herring <robh@kernel.org>, Borislav Petkov <bp@suse.de>,
Frank Rowand <frank.rowand@sony.com>,
x86@kernel.org, linux-kernel@vger.kernel.org
Subject: [tip: x86/cleanups] x86/of: Kill unused early_init_dt_scan_chosen_arch()
Date: Mon, 25 Oct 2021 09:14:17 -0000 [thread overview]
Message-ID: <163515325718.626.9514246389734008198.tip-bot2@tip-bot2> (raw)
In-Reply-To: <20211022164642.2815706-1-robh@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 <robh@kernel.org>
AuthorDate: Fri, 22 Oct 2021 11:46:42 -05:00
Committer: Borislav Petkov <bp@suse.de>
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 <robh@kernel.org>
Signed-off-by: Borislav Petkov <bp@suse.de>
Reviewed-by: Frank Rowand <frank.rowand@sony.com>
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);
prev parent reply other threads:[~2021-10-25 9:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-22 16:46 [PATCH] x86: of: Kill unused early_init_dt_scan_chosen_arch() Rob Herring
2021-10-25 4:26 ` Frank Rowand
2021-10-25 9:14 ` tip-bot2 for Rob Herring [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=163515325718.626.9514246389734008198.tip-bot2@tip-bot2 \
--to=tip-bot2@linutronix.de \
--cc=bp@suse.de \
--cc=frank.rowand@sony.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tip-commits@vger.kernel.org \
--cc=robh@kernel.org \
--cc=x86@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).