[PATCH] MIPS: dtb: remove unused variable ``root''

Sascha Hauer s.hauer at pengutronix.de
Thu Oct 22 03:29:34 EDT 2020


On Thu, Oct 22, 2020 at 09:56:16AM +0800, Du Huanpeng wrote:
> the ``root'' is not used and cause a warning.
> 
> Signed-off-by: Du Huanpeng <u74147 at gmail.com>
> ---
>  arch/mips/boot/dtb.c | 1 -
>  1 file changed, 1 deletion(-)

Applied, thanks

Sascha

> 
> diff --git a/arch/mips/boot/dtb.c b/arch/mips/boot/dtb.c
> index 2aff4ad..6fce470 100644
> --- a/arch/mips/boot/dtb.c
> +++ b/arch/mips/boot/dtb.c
> @@ -35,7 +35,6 @@ extern char __dtb_start[];
>  
>  static int of_mips_init(void)
>  {
> -	struct device_node *root;
>  	void *fdt;
>  
>  	fdt = glob_fdt;
> -- 
> 2.7.4
> 
> 
> _______________________________________________
> barebox mailing list
> barebox at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list