From: Jiri Slaby Date: Mon, 9 May 2016 07:11:56 +0000 (+0200) Subject: tty: frv, remove unused serial macros X-Git-Tag: v4.8-rc1~192^2~87 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5691e03593cb9f7abfee93f4581de8933f1d6630;p=thirdparty%2Fkernel%2Flinux.git tty: frv, remove unused serial macros 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 Cc: David Howells Signed-off-by: Greg Kroah-Hartman --- diff --git a/arch/frv/include/asm/serial.h b/arch/frv/include/asm/serial.h index bce0d0d07e606..614c6d76789a1 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