Messages in this thread | | | Date | Fri, 13 May 2022 09:11:23 +0200 | From | Johan Hovold <> | Subject | Re: [PATCH 4/5] serial: fsl_lpuart: Remove unnecessary clearing for CRTSCTS |
| |
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@linux.intel.com>
Reviewed-by: Johan Hovold <johan@kernel.org>
| |