Skip to content
Permalink
Browse files

drivers: uart_console: removed commented code

Remove all commented and unused code.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
  • Loading branch information...
nashif committed Jun 21, 2019
1 parent 7635cf8 commit 1034c5e3985e4dfc3b85da5d9f497abe23fd232a
Showing with 0 additions and 19 deletions.
  1. +0 −19 drivers/console/uart_console.c
@@ -59,25 +59,6 @@ void uart_console_out_debug_hook_install(uart_console_out_debug_hook_t *hook)

#endif /* CONFIG_UART_CONSOLE_DEBUG_SERVER_HOOKS */

#if 0 /* NOTUSED */
/**
*
* @brief Get a character from UART
*
* @return the character or EOF if nothing present
*/

static int console_in(void)
{
unsigned char c;

if (uart_poll_in(uart_console_dev, &c) < 0) {
return EOF;
} else {
return (int)c;
}
}
#endif

#if defined(CONFIG_PRINTK) || defined(CONFIG_STDOUT_CONSOLE)
/**

0 comments on commit 1034c5e

Please sign in to comment.
You can’t perform that action at this time.