[PATCH] x86/boot/early_serial_console: Remove unused macro XMTRDY

From: Alexander Kuleshov
Date: Wed Dec 31 2014 - 08:56:51 EST


There is no write to serial routine, no need in XMTRDY macro.

Signed-off-by: Alexander Kuleshov <kuleshovmail@xxxxxxxxx>
---
arch/x86/boot/early_serial_console.c | 2 --
1 file changed, 2 deletions(-)

diff --git a/arch/x86/boot/early_serial_console.c b/arch/x86/boot/early_serial_console.c
index 5df2869..790586d 100644
--- a/arch/x86/boot/early_serial_console.c
+++ b/arch/x86/boot/early_serial_console.c
@@ -2,8 +2,6 @@

#define DEFAULT_SERIAL_PORT 0x3f8 /* ttyS0 */

-#define XMTRDY 0x20
-
#define DLAB 0x80

#define TXR 0 /* Transmit register (WRITE) */
--
2.2.1.202.g44ae4ee.dirty

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/