[PATCH 1/1] cmd: bootflow: remove dead code in do_bootflow_cmdline()

Tom Rini trini at konsulko.com
Fri Jan 19 17:08:35 CET 2024


On Thu, Jan 11, 2024 at 09:14:33AM +0100, Heinrich Schuchardt wrote:

> Checking argc < 3 twice is redundant.
> 
> Addresses-Coverity-ID: 477198 Logically dead code
> Fixes: 921f63e57238 ("bootflow: Allow setting a cmdline arg with no value")
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>

Applied to u-boot/master, thanks!

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


More information about the U-Boot mailing list