summaryrefslogtreecommitdiffstats
path: root/drivers/tty
diff options
context:
space:
mode:
authorJohan Hovold2019-04-26 07:59:25 +0200
committerGreg Kroah-Hartman2019-05-24 10:09:16 +0200
commit324e8f5f5d9d4d0b9a608b2fdb88cd93b0fbb12a (patch)
treeb6c2ddac5780084e915c067c6b8a7e52ec956da9 /drivers/tty
parenttty: ipoctal: drop unused iflag macro (diff)
downloadkernel-qcow2-linux-324e8f5f5d9d4d0b9a608b2fdb88cd93b0fbb12a.tar.gz
kernel-qcow2-linux-324e8f5f5d9d4d0b9a608b2fdb88cd93b0fbb12a.tar.xz
kernel-qcow2-linux-324e8f5f5d9d4d0b9a608b2fdb88cd93b0fbb12a.zip
tty: cpm_uart: drop unused iflag macro
Drop the RELEVANT_IFLAG() macro which hasn't been used at least since the dawn of git. Signed-off-by: Johan Hovold <johan@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty')
-rw-r--r--drivers/tty/serial/cpm_uart/cpm_uart_core.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/tty/serial/cpm_uart/cpm_uart_core.c b/drivers/tty/serial/cpm_uart/cpm_uart_core.c
index 7bab9a3eda92..de6d02f7abe2 100644
--- a/drivers/tty/serial/cpm_uart/cpm_uart_core.c
+++ b/drivers/tty/serial/cpm_uart/cpm_uart_core.c
@@ -576,8 +576,6 @@ static void cpm_uart_set_termios(struct uart_port *port,
/*
* Set up parity check flag
*/
-#define RELEVANT_IFLAG(iflag) (iflag & (IGNBRK|BRKINT|IGNPAR|PARMRK|INPCK))
-
port->read_status_mask = (BD_SC_EMPTY | BD_SC_OV);
if (termios->c_iflag & INPCK)
port->read_status_mask |= BD_SC_FR | BD_SC_PR;