mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-30 11:16:48 +07:00
tty: serial: msm: remove braces {} in msm_serial.c
fixed below checkpatch.pl warning: WARNING: braces {} are not necessary for any arm of this statement Signed-off-by: Kiran Padwal <kiran.padwal@smartplayin.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
28e3fb6c4d
commit
ddea392e61
@ -190,11 +190,10 @@ static void handle_rx(struct uart_port *port)
|
||||
/* Mask conditions we're ignorning. */
|
||||
sr &= port->read_status_mask;
|
||||
|
||||
if (sr & UART_SR_RX_BREAK) {
|
||||
if (sr & UART_SR_RX_BREAK)
|
||||
flag = TTY_BREAK;
|
||||
} else if (sr & UART_SR_PAR_FRAME_ERR) {
|
||||
else if (sr & UART_SR_PAR_FRAME_ERR)
|
||||
flag = TTY_FRAME;
|
||||
}
|
||||
|
||||
if (!uart_handle_sysrq_char(port, c))
|
||||
tty_insert_flip_char(tport, c, flag);
|
||||
|
Loading…
Reference in New Issue
Block a user