Re: [PATCH 8/8] serial: 8250: lpc18xx: Remove redundant sanity check for RS485 flags

From: Ilpo Järvinen
Date: Sat Jun 25 2022 - 06:18:55 EST


On Wed, 22 Jun 2022, Lino Sanfilippo wrote:

> From: Lino Sanfilippo <l.sanfilippo@xxxxxxxxxx>
>
> Before the drivers rs485_config() function is called the serial core
> already ensures that only one of both options RTS on send or RTS after send
> is set. So remove the concerning sanity check in the driver function to
> avoid redundancy.
>
> Signed-off-by: Lino Sanfilippo <l.sanfilippo@xxxxxxxxxx>

Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@xxxxxxxxxxxxxxx>

--
i.