]> git.ipfire.org Git - people/ms/u-boot.git/commit
image-fit: Don't display an error in fit_set_timestamp()
authorSimon Glass <sjg@chromium.org>
Sun, 1 May 2016 19:55:37 +0000 (13:55 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 23 May 2016 15:50:18 +0000 (11:50 -0400)
commit8df81e17f81ba0542f6dbb7636db64fa56c12d8a
tree22098ad2b0da5096f8b3320f9ed8ee7cbe0c1cf9
parent034eda867f47986e04be13087d193d2c12e3b9aa
image-fit: Don't display an error in fit_set_timestamp()

This function returns an error code and its caller may be able to fix the
error. For example fit_handle_file() expands the device tree to fit if there
is a lack of space.

In this case the caller does not want an error displayed. It is confusing,
since it suggests that something is wrong, when it fact everything is fine.
Drop the error.

Signed-off-by: Simon Glass <sjg@chromium.org>
common/image-fit.c