From: Alexander Shiyan <eagle.alexander923@gmail.com>
To: barebox@lists.infradead.org
Cc: Alexander Shiyan <eagle.alexander923@gmail.com>
Subject: [PATCH] arm: bootm-fip: remove redundant variable declaration
Date: Mon, 25 Aug 2025 15:11:52 +0300 [thread overview]
Message-ID: <20250825121152.197198-1-eagle.alexander923@gmail.com> (raw)
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
next reply other threads:[~2025-08-25 12:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-25 12:11 Alexander Shiyan [this message]
2025-08-26 5:07 ` [PATCH] arm: bootm-fip: remove redundant variable declaration Sascha Hauer
2025-09-12 6:55 ` Alexander Shiyan
2025-09-12 7:49 ` Sascha Hauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250825121152.197198-1-eagle.alexander923@gmail.com \
--to=eagle.alexander923@gmail.com \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.