[PATCH 6/6] fw_env: drop unneeded variables from flash_write_buf()

Tom Rini trini at konsulko.com
Mon Feb 23 21:38:42 CET 2026


On Sat, Feb 21, 2026 at 11:00:11AM +0100, Rafał Miłecki wrote:

> From: Rafał Miłecki <rafal at milecki.pl>
> 
> Recent cleanups made some variables redundant. Both: "blocklen" and
> "erase_len" ended up being used as temporary variables used locally in
> some short code paths.
> 
> Signed-off-by: Rafał Miłecki <rafal at milecki.pl>

Reviewed-by: Tom Rini <trini at konsulko.com>

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20260223/3af510f5/attachment.sig>


More information about the U-Boot mailing list