]> git.baikalelectronics.ru Git - kernel.git/commit
tty: serial: fsl_lpuart: remove the count initialization as it is not needed
authorSherry Sun <sherry.sun@nxp.com>
Mon, 18 Apr 2022 02:18:44 +0000 (10:18 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 22 Apr 2022 14:22:38 +0000 (16:22 +0200)
commitaed8dae711a0facf5455366f9cf64c121aed9095
tree58af2e5c048cbe3817e19442951fb3b7f8c38da7
parentef499fafe936179760d5a11f57e1fe825b0bffac
tty: serial: fsl_lpuart: remove the count initialization as it is not needed

No need to initialize the count variable in lpuart_copy_rx_to_tty(),
so let's remove it here.

Reviewed-by: Jiri Slaby <jirislaby@kernel.org>
Signed-off-by: Sherry Sun <sherry.sun@nxp.com>
Link: https://lore.kernel.org/r/20220418021844.29591-1-sherry.sun@nxp.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/fsl_lpuart.c