]> git.ipfire.org Git - thirdparty/u-boot.git/commit
disk: part: Don't show redundant error message
authorSam Protsenko <semen.protsenko@linaro.org>
Mon, 30 Jul 2018 16:19:27 +0000 (19:19 +0300)
committerTom Rini <trini@konsulko.com>
Fri, 10 Aug 2018 17:45:34 +0000 (13:45 -0400)
commit8f690848b8a58b5da56eb08d013e63517e558292
tree8254f75d0263bbfc4ad6afa5a4687d57c9f6ae65
parent13bbfb4a395d1c0811cd8624cda64ad2ad4746bf
disk: part: Don't show redundant error message

Underlying API should already print some meaningful error message, so
this one is just brings more noise. E.g. we can see log like this:

    MMC: no card present
    ** Bad device mmc 0 **

Obviously, second error message is unwanted. Let's only print it in case
when DEBUG is defined to keep log short and clear.

Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
disk/part.c