devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Frank Rowand <frowand.list@gmail.com>
To: Yuan Can <yuancan@huawei.com>,
	robh+dt@kernel.org, devicetree@vger.kernel.org
Subject: Re: [PATCH] of: fdt: Remove unused struct fdt_scan_status
Date: Tue, 27 Sep 2022 13:15:26 -0500	[thread overview]
Message-ID: <70de6f5c-37c4-5318-3855-bcb03d61508f@gmail.com> (raw)
In-Reply-To: <20220927133739.98493-1-yuancan@huawei.com>

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>

  reply	other threads:[~2022-09-27 18:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-27 13:37 [PATCH] of: fdt: Remove unused struct fdt_scan_status Yuan Can
2022-09-27 18:15 ` Frank Rowand [this message]
2022-09-29 22:29 ` Rob Herring

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=70de6f5c-37c4-5318-3855-bcb03d61508f@gmail.com \
    --to=frowand.list@gmail.com \
    --cc=devicetree@vger.kernel.org \
    --cc=robh+dt@kernel.org \
    --cc=yuancan@huawei.com \
    /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).