Re: [PATCH] of: fdt: Remove unused struct fdt_scan_status

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
> ---
>  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@xxxxxxxx>



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux