From: Maxime Ripard Date: Tue, 23 Jan 2018 20:16:57 +0000 (+0100) Subject: env: common: Make the debug messages play a little nicer X-Git-Tag: v2018.03-rc1~86 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=58ae9990c0280ff5382d826ad752512baad223a8;p=oweals%2Fu-boot.git env: common: Make the debug messages play a little nicer Since we have global messages to indicate what's going on, the custom messages in the environment drivers only make the output less readable. Make the common code play a little nicer by removing all the extra output in the standard case. Reviewed-by: Andre Przywara Reviewed-by: Simon Glass Signed-off-by: Maxime Ripard --- diff --git a/env/common.c b/env/common.c index 8167ea2992..c633502d68 100644 --- a/env/common.c +++ b/env/common.c @@ -78,7 +78,7 @@ void set_default_env(const char *s) puts(s); } } else { - puts("Using default environment\n\n"); + debug("Using default environment\n"); } if (himport_r(&env_htab, (char *)default_environment,