Commit 23c966c8 authored by Tristan Gingold's avatar Tristan Gingold

console.c: remove puts_direct (unused)

parent 1fcb5783
Pipeline #4497 passed with stage
in 2 minutes and 46 seconds
......@@ -20,8 +20,6 @@
#include "netconsole.h"
#include "lib/syslog.h"
static int puts_direct = 0;
struct console_uart_priv_data console_uart_priv;
struct console_device console_uart_dev;
......@@ -137,11 +135,6 @@ void console_register_device( struct console_device *dev )
int puts(const char *s)
{
if( puts_direct)
{
return con_uart_put_string( &console_uart_dev, s );
}
int i, rv = 0;
for(i = 0; i < ARRAY_SIZE(console_devs); i++)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment