Skip to contentSkip to conversation

MIPS: dtb: remove unused variable ``root''

PATCH Applied Du Huanpeng 2 participants 2 messages Oct 22, 2020 MIPS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 MIPS: dtb: remove unused variable ``root''

the ``root'' is not used and cause a warning.

---
 arch/mips/boot/dtb.c | 1 -
 1 file changed, 1 deletion(-)
arch/mips/boot/dtb.c +0 -1
index 2aff4ad..6fce470 100644
@@ -35,7 +35,6 @@ extern char __dtb_start[];
 
 static int of_mips_init(void)
 {
-	struct device_node *root;
 	void *fdt;
 
 	fdt = glob_fdt;
Signature · 7 lines
2.7.4


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Applied
#1 lore raw
Quoted 6 lines · Du Huanpeng

the ``root'' is not used and cause a warning.

---
 arch/mips/boot/dtb.c | 1 -
 1 file changed, 1 deletion(-)

Applied, thanks

Sascha

Quoted 22 lines
arch/mips/boot/dtb.c +0 -1
index 2aff4ad..6fce470 100644
@@ -35,7 +35,6 @@ extern char __dtb_start[];
 
 static int of_mips_init(void)
 {
-	struct device_node *root;
 	void *fdt;
 
 	fdt = glob_fdt;
Signature · 7 lines
2.7.4


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Signature · 9 lines
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
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox