]> git.dujemihanovic.xyz Git - u-boot.git/commit
cmd: ubi: remove unnecessary logical constraint
authorxypron.glpk@gmx.de <xypron.glpk@gmx.de>
Sat, 15 Apr 2017 14:25:25 +0000 (16:25 +0200)
committerHeiko Schocher <hs@denx.de>
Tue, 18 Apr 2017 04:08:32 +0000 (06:08 +0200)
commit18f41f2fa2d021f7baad37ba6fbe01b49309afbb
tree831ffe2ce7c8f7e5fa931c64bb1103f174a1b907
parentf6c1df44b815a08585e7fd3805a1db51a5955d09
cmd: ubi: remove unnecessary logical constraint

A size_t variable can never be negative.

The problem was indicated by cppcheck.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Heiko Schocher <hs@denx.de>
cmd/ubi.c