]> git.ipfire.org Git - thirdparty/u-boot.git/commit
cmd: bootflow: remove dead code in do_bootflow_cmdline()
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Thu, 11 Jan 2024 08:14:33 +0000 (09:14 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 19 Jan 2024 01:24:13 +0000 (20:24 -0500)
commit0afee2623d5a313473cb9b57df2fbadf54f86b82
tree38e7086550e3a14511e2cbee15a43a81dafa5f79
parentccefbf320d89f8ba857c57296e9502e060d7ab9c
cmd: bootflow: remove dead code in do_bootflow_cmdline()

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@canonical.com>
cmd/bootflow.c