2014-12-31 13:56:47

by Alexander Kuleshov

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

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

Signed-off-by: Alexander Kuleshov <[email protected]>
---
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


2014-12-31 14:15:58

by Borislav Petkov

[permalink] [raw]
Subject: Re: [PATCH] x86/boot/early_serial_console: Remove unused macro XMTRDY

On Wed, Dec 31, 2014 at 07:56:31PM +0600, Alexander Kuleshov wrote:
> There is no write to serial routine, no need in XMTRDY macro.
>
> Signed-off-by: Alexander Kuleshov <[email protected]>

Acked-by: Borislav Petkov <[email protected]>

--
Regards/Gruss,
Boris.

Sent from a fat crate under my desk. Formatting is fine.
--