[PATCH] arm: bootm-fip: remove redundant variable declaration
Alexander Shiyan
eagle.alexander923 at gmail.com
Thu Sep 11 23:55:07 PDT 2025
ping
пн, 25 авг. 2025 г. в 15:12, Alexander Shiyan <eagle.alexander923 at gmail.com>:
>
> Remove shadowed variable declaration inside the loop
>
> Signed-off-by: Alexander Shiyan <eagle.alexander923 at 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
>
More information about the barebox
mailing list