All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] of: fdt: Remove unused struct fdt_scan_status
@ 2022-09-27 13:37 Yuan Can
  2022-09-27 18:15 ` Frank Rowand
  2022-09-29 22:29 ` Rob Herring
  0 siblings, 2 replies; 3+ messages in thread
From: Yuan Can @ 2022-09-27 13:37 UTC (permalink / raw)
  To: robh+dt, frowand.list, devicetree; +Cc: yuancan

After commit bba04d965d06("of/fdt: remove unused of_scan_flat_dt_by_path"), no
one use struct fdt_scan_status, so remove it.

Signed-off-by: Yuan Can <yuancan@huawei.com>
---
 drivers/of/fdt.c | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/drivers/of/fdt.c b/drivers/of/fdt.c
index 8e359e75efd8..7b571a631639 100644
--- a/drivers/of/fdt.c
+++ b/drivers/of/fdt.c
@@ -828,15 +828,6 @@ uint32_t __init of_get_flat_dt_phandle(unsigned long node)
 	return fdt_get_phandle(initial_boot_params, node);
 }
 
-struct fdt_scan_status {
-	const char *name;
-	int namelen;
-	int depth;
-	int found;
-	int (*iterator)(unsigned long node, const char *uname, int depth, void *data);
-	void *data;
-};
-
 const char * __init of_flat_dt_get_machine_name(void)
 {
 	const char *name;
-- 
2.17.1


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

* Re: [PATCH] of: fdt: Remove unused struct fdt_scan_status
  2022-09-27 13:37 [PATCH] of: fdt: Remove unused struct fdt_scan_status Yuan Can
@ 2022-09-27 18:15 ` Frank Rowand
  2022-09-29 22:29 ` Rob Herring
  1 sibling, 0 replies; 3+ messages in thread
From: Frank Rowand @ 2022-09-27 18:15 UTC (permalink / raw)
  To: Yuan Can, robh+dt, devicetree

On 9/27/22 08:37, Yuan Can wrote:
> After commit bba04d965d06("of/fdt: remove unused of_scan_flat_dt_by_path"), no
> one use struct fdt_scan_status, so remove it.
> 
> Signed-off-by: Yuan Can <yuancan@huawei.com>
> ---
>  drivers/of/fdt.c | 9 ---------
>  1 file changed, 9 deletions(-)
> 
> diff --git a/drivers/of/fdt.c b/drivers/of/fdt.c
> index 8e359e75efd8..7b571a631639 100644
> --- a/drivers/of/fdt.c
> +++ b/drivers/of/fdt.c
> @@ -828,15 +828,6 @@ uint32_t __init of_get_flat_dt_phandle(unsigned long node)
>  	return fdt_get_phandle(initial_boot_params, node);
>  }
>  
> -struct fdt_scan_status {
> -	const char *name;
> -	int namelen;
> -	int depth;
> -	int found;
> -	int (*iterator)(unsigned long node, const char *uname, int depth, void *data);
> -	void *data;
> -};
> -
>  const char * __init of_flat_dt_get_machine_name(void)
>  {
>  	const char *name;


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

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

* Re: [PATCH] of: fdt: Remove unused struct fdt_scan_status
  2022-09-27 13:37 [PATCH] of: fdt: Remove unused struct fdt_scan_status Yuan Can
  2022-09-27 18:15 ` Frank Rowand
@ 2022-09-29 22:29 ` Rob Herring
  1 sibling, 0 replies; 3+ messages in thread
From: Rob Herring @ 2022-09-29 22:29 UTC (permalink / raw)
  To: Yuan Can; +Cc: robh+dt, devicetree, frowand.list

On Tue, 27 Sep 2022 13:37:39 +0000, Yuan Can wrote:
> After commit bba04d965d06("of/fdt: remove unused of_scan_flat_dt_by_path"), no
> one use struct fdt_scan_status, so remove it.
> 
> Signed-off-by: Yuan Can <yuancan@huawei.com>
> ---
>  drivers/of/fdt.c | 9 ---------
>  1 file changed, 9 deletions(-)
> 

Applied, thanks!

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

end of thread, other threads:[~2022-09-29 22:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-27 13:37 [PATCH] of: fdt: Remove unused struct fdt_scan_status Yuan Can
2022-09-27 18:15 ` Frank Rowand
2022-09-29 22:29 ` 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.