[U-Boot] [U-Boot,1/1] cmd: ubi: remove unreachable code

Tom Rini trini at konsulko.com
Wed Jan 16 02:43:08 UTC 2019


On Sun, Jan 06, 2019 at 12:26:28PM +0100, Heinrich Schuchardt wrote:

> 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 at gmx.de>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190115/c95de6ed/attachment.sig>


More information about the U-Boot mailing list