]> git.dujemihanovic.xyz Git - u-boot.git/commit
board/esd/cpci750/cpci750.c: Fix error handling
authorWolfgang Denk <wd@denx.de>
Wed, 9 Nov 2011 09:29:05 +0000 (09:29 +0000)
committerWolfgang Denk <wd@denx.de>
Wed, 16 Nov 2011 20:05:47 +0000 (21:05 +0100)
commitbe51c5c98b8d705a1795d00668344cfade8d6545
treeb08574b6f180463f52c31ed0f75b62d6b9b70f3f
parent8a2d1f246e14c6595642898568c54fbf1ef065ef
board/esd/cpci750/cpci750.c: Fix error handling

ThE code recorded error conditions but did not pass these on to the
higher level caller.  Fixing this fixes also this build warning:
cpci750.c: In function 'do_loadpci':
cpci750.c:569:6: warning: variable 'status' set but not used
[-Wunused-but-set-variable]

Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: Reinhard Arlt <reinhard.arlt@esd-electronics.com>
board/esd/cpci750/cpci750.c