Skip to content

Commit 419fabd

Browse files
Flavio Ceolinnashif
authored andcommitted
console: uart: Remove unnecessary macro
console_input_init is only used in the same scope it is implemented. There is not need to have it defined elsewhere. Signed-off-by: Flavio Ceolin <[email protected]>
1 parent 90072f3 commit 419fabd

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

drivers/console/uart_console.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -564,9 +564,6 @@ void uart_register_input(struct k_fifo *avail, struct k_fifo *lines,
564564
}
565565

566566
#else
567-
#define console_input_init(x) \
568-
do { /* nothing */ \
569-
} while ((0))
570567
#define uart_register_input(x) \
571568
do { /* nothing */ \
572569
} while ((0))

0 commit comments

Comments
 (0)