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

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

 



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@xxxxxxxxx>
> ---
>  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@xxxxxxxxxxxxxxxxxxx
> 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 |

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux