mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 19:29:37 +00:00
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>
This commit is contained in:
parent
b95781666d
commit
324e8f5f5d
1 changed files with 0 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue