Skip to contentSkip to conversation

ARM: cpu: dtb: remove unused declaration

PATCH Applied Ahmad Fatoum 2 participants 2 messages Nov 20, 2019 – Nov 25, 2019 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: cpu: dtb: remove unused declaration

We no longer use __dtb_start on ARM and the declaration is unused in the file. Drop it.
No functional change.

---
 arch/arm/cpu/dtb.c | 2 --
 1 file changed, 2 deletions(-)
arch/arm/cpu/dtb.c +0 -2
index 1ba5aa415ef7..c43474e63b9b 100644
@@ -19,8 +19,6 @@
 #include <of.h>
 #include <asm/barebox-arm.h>
 
-extern char __dtb_start[];
-
 static int of_arm_init(void)
 {
 	struct device_node *root;
Signature · 7 lines
2.20.1


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

We no longer use __dtb_start on ARM and the declaration is unused in the file. Drop it.
No functional change.

---
 arch/arm/cpu/dtb.c | 2 --
 1 file changed, 2 deletions(-)

Applied, thanks

Sascha

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