* [PATCH] MIPS: dtb: remove unused variable ``root''
@ 2020-10-22 1:56 Du Huanpeng
2020-10-22 7:29 ` Sascha Hauer
0 siblings, 1 reply; 2+ messages in thread
From: Du Huanpeng @ 2020-10-22 1:56 UTC (permalink / raw)
To: barebox; +Cc: Du Huanpeng
the ``root'' is not used and cause a warning.
Signed-off-by: Du Huanpeng <u74147@gmail.com>
---
arch/mips/boot/dtb.c | 1 -
1 file changed, 1 deletion(-)
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@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] MIPS: dtb: remove unused variable ``root''
2020-10-22 1:56 [PATCH] MIPS: dtb: remove unused variable ``root'' Du Huanpeng
@ 2020-10-22 7:29 ` Sascha Hauer
0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2020-10-22 7:29 UTC (permalink / raw)
To: Du Huanpeng; +Cc: barebox
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@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@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 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-10-22 7:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-22 1:56 [PATCH] MIPS: dtb: remove unused variable ``root'' Du Huanpeng
2020-10-22 7:29 ` Sascha Hauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox