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

Ilpo Järvinen ilpo.jarvinen at linux.intel.com
Sat Jun 25 03:18:43 PDT 2022


On Wed, 22 Jun 2022, Lino Sanfilippo wrote:

> From: Lino Sanfilippo <l.sanfilippo at kunbus.com>
> 
> 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 at kunbus.com>

Reviewed-by: Ilpo Järvinen <ilpo.jarvinen at linux.intel.com>

-- 
 i.


More information about the linux-arm-kernel mailing list