Message ID | 20200225181528.2457-1-moseschristopherb@gmail.com |
---|---|
State | New |
Headers | show |
Series | tiny-printf: revert patch to fix spl eth boot | expand |
diff --git a/lib/tiny-printf.c b/lib/tiny-printf.c index 1138c7012a..8ee0ffb9ca 100644 --- a/lib/tiny-printf.c +++ b/lib/tiny-printf.c @@ -268,20 +268,10 @@ static int _vprintf(struct printf_info *info, const char *fmt, va_list va) } break; case 'p': -#ifdef DEBUG pointer(info, fmt, va_arg(va, void *)); - /* - * Skip this because it pulls in _ctype which is - * 256 bytes, and we don't generally implement - * pointer anyway - */ while (isalnum(fmt[0])) fmt++; break; -#else - islong = true; - /* no break */ -#endif case 'x': if (islong) { num = va_arg(va, unsigned long);