[tip:x86/cleanups] x86, early_serial_console: Remove unused macro XMTRDY

From: tip-bot for Alexander Kuleshov
Date: Fri Jan 16 2015 - 03:07:55 EST


Commit-ID: e054273a9b117f74ad8214b1f0f23e917e25522e
Gitweb: http://git.kernel.org/tip/e054273a9b117f74ad8214b1f0f23e917e25522e
Author: Alexander Kuleshov <kuleshovmail@xxxxxxxxx>
AuthorDate: Wed, 31 Dec 2014 19:56:31 +0600
Committer: Borislav Petkov <bp@xxxxxxx>
CommitDate: Tue, 13 Jan 2015 12:13:11 +0100

x86, early_serial_console: Remove unused macro XMTRDY

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

Signed-off-by: Alexander Kuleshov <kuleshovmail@xxxxxxxxx>
Link: http://lkml.kernel.org/r/1420034191-20721-1-git-send-email-kuleshovmail@xxxxxxxxx
Signed-off-by: Borislav Petkov <bp@xxxxxxx>
---
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) */
--
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/