summaryrefslogtreecommitdiff
path: root/src/console
diff options
context:
space:
mode:
Diffstat (limited to 'src/console')
-rw-r--r--src/console/printk.c3
-rw-r--r--src/console/vtxprintf.c5
2 files changed, 1 insertions, 7 deletions
diff --git a/src/console/printk.c b/src/console/printk.c
index 1d6b9bf265..2fa160b4f3 100644
--- a/src/console/printk.c
+++ b/src/console/printk.c
@@ -21,7 +21,7 @@ void do_putchar(unsigned char byte)
console_tx_byte(byte);
}
-void wrap_putchar(unsigned char byte, void *data)
+static void wrap_putchar(unsigned char byte, void *data)
{
do_putchar(byte);
}
@@ -61,4 +61,3 @@ void do_vtxprintf(const char *fmt, va_list args)
console_tx_flush();
}
#endif
-
diff --git a/src/console/vtxprintf.c b/src/console/vtxprintf.c
index d4d70b67e3..23db037f5d 100644
--- a/src/console/vtxprintf.c
+++ b/src/console/vtxprintf.c
@@ -121,11 +121,6 @@ int vtxprintf(void (*tx_byte)(unsigned char byte, void *data),
int count;
-#if defined(__SMM__) && CONFIG_SMM_TSEG
- /* Fix pointer in TSEG */
- tx_byte = wrap_putchar;
-#endif
-
for (count=0; *fmt ; ++fmt) {
if (*fmt != '%') {
call_tx(*fmt), count++;