serial: 8250: Remove superfluous sanity check
authorLino Sanfilippo <l.sanfilippo@kunbus.com>
Sun, 7 Apr 2024 00:27:08 +0000 (02:27 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 9 Apr 2024 15:07:10 +0000 (17:07 +0200)
commit384fa8647dc55ab47515bbb76ebda37b2350e5b3
tree160ac59f015188cc30165f2a7b251c5db12abcbc
parent255abd49f18533300bc5f20d7dce77a0a4479f58
serial: 8250: Remove superfluous sanity check

The serial core already checks the RS485 RTS settings for sanity, so remove
the superfluous check in serial8250_em485_config().

Signed-off-by: Lino Sanfilippo <l.sanfilippo@kunbus.com>
Link: https://lore.kernel.org/r/20240407002709.16224-4-l.sanfilippo@kunbus.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_port.c