All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] x86: of: Kill unused early_init_dt_scan_chosen_arch()
@ 2021-10-22 16:46 Rob Herring
  2021-10-25  4:26 ` Frank Rowand
  2021-10-25  9:14 ` [tip: x86/cleanups] x86/of: " tip-bot2 for Rob Herring
  0 siblings, 2 replies; 3+ messages in thread
From: Rob Herring @ 2021-10-22 16:46 UTC (permalink / raw)
  To: x86
  Cc: devicetree, linux-kernel, Thomas Gleixner, Ingo Molnar,
	Borislav Petkov, H. Peter Anvin, Frank Rowand

There are no callers for early_init_dt_scan_chosen_arch(), so remove it.

Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Borislav Petkov <bp@alien8.de>
Cc: x86@kernel.org
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Frank Rowand <frowand.list@gmail.com>
Signed-off-by: Rob Herring <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 3aa1e99df2a9..5cd51f25f446 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 cf6a65b94d40..cf48983d3c86 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);
 
-- 
2.32.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] x86: of: Kill unused early_init_dt_scan_chosen_arch()
  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: x86/cleanups] x86/of: " tip-bot2 for Rob Herring
  1 sibling, 0 replies; 3+ messages in thread
From: Frank Rowand @ 2021-10-25  4:26 UTC (permalink / raw)
  To: Rob Herring, x86
  Cc: devicetree, linux-kernel, Thomas Gleixner, Ingo Molnar,
	Borislav Petkov, H. Peter Anvin

On 10/22/21 11:46 AM, Rob Herring wrote:
> There are no callers for early_init_dt_scan_chosen_arch(), so remove it.
> 
> Cc: Thomas Gleixner <tglx@linutronix.de>
> Cc: Ingo Molnar <mingo@redhat.com>
> Cc: Borislav Petkov <bp@alien8.de>
> Cc: x86@kernel.org
> Cc: "H. Peter Anvin" <hpa@zytor.com>
> Cc: Frank Rowand <frowand.list@gmail.com>
> Signed-off-by: Rob Herring <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 3aa1e99df2a9..5cd51f25f446 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 cf6a65b94d40..cf48983d3c86 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);
>  
> 

Reviewed-by: Frank Rowand <frank.rowand@sony.com>


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [tip: x86/cleanups] x86/of: Kill unused early_init_dt_scan_chosen_arch()
  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
  1 sibling, 0 replies; 3+ messages in thread
From: tip-bot2 for Rob Herring @ 2021-10-25  9:14 UTC (permalink / raw)
  To: linux-tip-commits
  Cc: Rob Herring, Borislav Petkov, Frank Rowand, x86, linux-kernel

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);
 

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-10-25  9:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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: x86/cleanups] x86/of: " tip-bot2 for Rob Herring

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.