[PATCH 4/7] tty: frv, remove unused serial macros

From: Jiri Slaby
Date: Mon May 09 2016 - 03:13:59 EST


STD_COM_FLAGS needs not be defined as it is not used anywhere on frv.

SERIAL_PORT_DFNS is defined to be empty. 8250 is aware of empty
SERIAL_PORT_DFNS and does:
#ifndef SERIAL_PORT_DFNS
#define SERIAL_PORT_DFNS
#endif

So no need to define it on frv.

Signed-off-by: Jiri Slaby <jslaby@xxxxxxx>
Cc: David Howells <dhowells@xxxxxxxxxx>
---
arch/frv/include/asm/serial.h | 4 ----
1 file changed, 4 deletions(-)

diff --git a/arch/frv/include/asm/serial.h b/arch/frv/include/asm/serial.h
index bce0d0d07e60..614c6d76789a 100644
--- a/arch/frv/include/asm/serial.h
+++ b/arch/frv/include/asm/serial.h
@@ -12,7 +12,3 @@
* the base baud is derived from the clock speed and so is variable
*/
#define BASE_BAUD 0
-
-#define STD_COM_FLAGS UPF_BOOT_AUTOCONF
-
-#define SERIAL_PORT_DFNS
--
2.8.2