summaryrefslogtreecommitdiff
path: root/drivers/serial/serial.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/serial/serial.c')
-rw-r--r--drivers/serial/serial.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/serial/serial.c b/drivers/serial/serial.c
index 0d6ad6283a..b10bab70d0 100644
--- a/drivers/serial/serial.c
+++ b/drivers/serial/serial.c
@@ -84,9 +84,6 @@ static NS16550_t serial_ports[4] = {
};
#define PORT serial_ports[port-1]
-#if defined(CONFIG_CONS_INDEX)
-#define CONSOLE (serial_ports[CONFIG_CONS_INDEX-1])
-#endif
#if defined(CONFIG_SERIAL_MULTI)