Skip to contentSkip to conversation

x86/boot/early_serial_console: Remove unused macro XMTRDY

PATCH In review Alexander Kuleshov 3 participants 3 messages Dec 31, 2014 – Jan 16, 2015 x86

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86/boot/early_serial_console: Remove unused macro XMTRDY

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

---
 arch/x86/boot/early_serial_console.c | 2 --
 1 file changed, 2 deletions(-)
arch/x86/boot/early_serial_console.c +0 -2
index 5df2869..790586d 100644
@@ -2,8 +2,6 @@
 
 #define DEFAULT_SERIAL_PORT 0x3f8 /* ttyS0 */
 
-#define XMTRDY          0x20
-
 #define DLAB		0x80
 
 #define TXR             0       /*  Transmit register (WRITE) */
Signature · 1 line
2.2.1.202.g44ae4ee.dirty
#2 lore raw

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

In reply to Alexander Kuleshov
x86, early_serial_console: Remove unused macro XMTRDY
Commit-ID:  e054273a9b117f74ad8214b1f0f23e917e25522e
Gitweb:     http://git.kernel.org/tip/e054273a9b117f74ad8214b1f0f23e917e25522e
Author:     Alexander Kuleshov <[email protected]>
AuthorDate: Wed, 31 Dec 2014 19:56:31 +0600
Committer:  Borislav Petkov <[email protected]>
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.

---
 arch/x86/boot/early_serial_console.c | 2 --
 1 file changed, 2 deletions(-)
arch/x86/boot/early_serial_console.c +0 -2
index 5df2869..790586d 100644
@@ -2,8 +2,6 @@
 
 #define DEFAULT_SERIAL_PORT 0x3f8 /* ttyS0 */
 
-#define XMTRDY          0x20
-
 #define DLAB		0x80
 
 #define TXR             0       /*  Transmit register (WRITE) */