mxser: remove else from LSR bits checks
authorJiri Slaby <jslaby@suse.cz>
Fri, 18 Jun 2021 06:14:23 +0000 (08:14 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Jun 2021 11:09:59 +0000 (13:09 +0200)
commit6de6e5c4becb5494d09d44ce4db1c54dc43afbae
tree54dc89b496dcbfbab4d0697533c8e95dfb16c78b
parent0c4194218cf206405c39e9d3380886a627c0602c
mxser: remove else from LSR bits checks

UART_LSR_SPECIAL is composed of UART_LSR_BI, UART_LSR_PE, UART_LSR_FE,
UART_LSR_OE. So status cannot be anything else. Remove the unused else
branch.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20210618061516.662-18-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/mxser.c