* [PATCH] arm: bootm-fip: remove redundant variable declaration
@ 2025-08-25 12:11 Alexander Shiyan
0 siblings, 0 replies; only message in thread
From: Alexander Shiyan @ 2025-08-25 12:11 UTC (permalink / raw)
To: barebox; +Cc: Alexander Shiyan
Remove shadowed variable declaration inside the loop
Signed-off-by: Alexander Shiyan <eagle.alexander923@gmail.com>
---
arch/arm/cpu/bootm-fip.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/arm/cpu/bootm-fip.c b/arch/arm/cpu/bootm-fip.c
index bd176f0645..a50b3f4431 100644
--- a/arch/arm/cpu/bootm-fip.c
+++ b/arch/arm/cpu/bootm-fip.c
@@ -91,7 +91,6 @@ static int parse_dtb_registry(struct fip_image_desc *fw_config_desc,
for_each_child_of_node_safe(fconf, tmp, image) {
u64 load_addr;
u32 id;
- int ret;
ret = of_property_read_u32(image, "id", &id);
if (ret)
--
2.38.2
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-08-25 12:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-08-25 12:11 [PATCH] arm: bootm-fip: remove redundant variable declaration Alexander Shiyan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox