]> git.dujemihanovic.xyz Git - u-boot.git/commit
dfu:fix: Replace wrong return value with proper one
authorLukasz Majewski <l.majewski@samsung.com>
Thu, 24 Apr 2014 08:24:53 +0000 (10:24 +0200)
committerMarek Vasut <marex@denx.de>
Wed, 30 Apr 2014 08:30:57 +0000 (10:30 +0200)
commit672ad18c276e6c37e2e140294ec35ee96ae47d38
tree63c4795505434ce4cde58568835d6a7a9b06a36b
parente6e493f341b0488843efe0c5b2c1274997fbbfe8
dfu:fix: Replace wrong return value with proper one

This patch remove always false (since we tested ret = 0) ternary operator
with ret value returned.

Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
drivers/dfu/dfu.c