]> git.dujemihanovic.xyz Git - u-boot.git/commit
cmd: ubi: remove unreachable code
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sun, 6 Jan 2019 11:26:28 +0000 (12:26 +0100)
committerTom Rini <trini@konsulko.com>
Tue, 15 Jan 2019 20:28:44 +0000 (15:28 -0500)
commit76428561b343daafc163e4bf1d6b5e8f5454d63a
tree5749c7c6cecb360f01ad0360e18a393e27514efc
parent1d1af2ae5afe18d9ea7037201b241e963ac7307e
cmd: ubi: remove unreachable code

It does not make sense to check if argc < 2 a second time, especially after
accessing argv[1].

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
cmd/ubi.c