From: Stefan Roese Date: Mon, 16 Nov 2015 14:26:31 +0000 (+0100) Subject: common/console.c: Drop sandbox special-case console code X-Git-Url: http://git.ipfire.org/?p=people%2Fms%2Fu-boot.git;a=commitdiff_plain;h=dd5577703b99170e88fad3994c7865d1e9bc2874 common/console.c: Drop sandbox special-case console code As done in commit da229e4e [sandbox: Drop special-case sandbox console code], this patch drops the sandbox special-case code in vprintf() that was missed by Simon at that time. Signed-off-by: Stefan Roese Cc: Simon Glass Acked-by: Simon Glass --- diff --git a/common/console.c b/common/console.c index b3f126cceb..fff03c952c 100644 --- a/common/console.c +++ b/common/console.c @@ -582,11 +582,6 @@ int vprintf(const char *fmt, va_list args) uint i; char printbuffer[CONFIG_SYS_PBSIZE]; -#if defined(CONFIG_PRE_CONSOLE_BUFFER) && !defined(CONFIG_SANDBOX) - if (!gd->have_console) - return 0; -#endif - /* For this to work, printbuffer must be larger than * anything we ever want to print. */