Re: [PATCH 4/5] serial: fsl_lpuart: Remove unnecessary clearing for CRTSCTS

From: Johan Hovold
Date: Fri May 13 2022 - 03:11:36 EST


On Wed, May 11, 2022 at 01:11:38PM +0300, Ilpo Järvinen wrote:
> if (termios->c_cflag & CRTSCTS) guarantees that CRTSCTS is not ever set
> in the else block so clearing it is unnecessary.
>
> While at it, remove also one pair of extra parenthesis.
>
> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@xxxxxxxxxxxxxxx>

Reviewed-by: Johan Hovold <johan@xxxxxxxxxx>