cmd: Fix control bmp_display()
authorSimon Glass <sjg@chromium.org>
Sat, 30 Jan 2016 22:45:15 +0000 (15:45 -0700)
committerAnatolij Gustschin <agust@denx.de>
Sat, 6 Feb 2016 12:53:09 +0000 (13:53 +0100)
commite517db73a61376b940a9b352eb717f703f6b25df
tree62f10f49d487b506a81f2c599a54905f02625cdf
parenta7c45ec4d63e773cf920cfedfb67e96fe0b8526a
cmd: Fix control bmp_display()

All paths should share the same return.

Reported-by: Coverity (CID:134903)
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
cmd/bmp.c