Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 324e8f5f authored by Johan Hovold's avatar Johan Hovold Committed by Greg Kroah-Hartman
Browse files

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: default avatarJohan Hovold <johan@kernel.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b9578166
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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;