lkml.org 
[lkml]   [2015]   [Jan]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[tip:x86/cleanups] x86, early_serial_console: Remove unused macro XMTRDY
Commit-ID:  e054273a9b117f74ad8214b1f0f23e917e25522e
Gitweb: http://git.kernel.org/tip/e054273a9b117f74ad8214b1f0f23e917e25522e
Author: Alexander Kuleshov <kuleshovmail@gmail.com>
AuthorDate: Wed, 31 Dec 2014 19:56:31 +0600
Committer: Borislav Petkov <bp@suse.de>
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@gmail.com>
Link: http://lkml.kernel.org/r/1420034191-20721-1-git-send-email-kuleshovmail@gmail.com
Signed-off-by: Borislav Petkov <bp@suse.de>
---
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) */

\
 
 \ /
  Last update: 2015-01-16 09:21    [W:1.642 / U:0.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site