Messages in this thread Patch in this message | | | Date | Fri, 16 Jan 2015 00:07:23 -0800 | From | tip-bot for Alexander Kuleshov <> | 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) */
| |