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

Du Huanpeng u74147 at gmail.com
Wed Oct 21 21:56:16 EDT 2020


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(-)

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




More information about the barebox mailing list