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)
commitc1b4148135c171f2950bf2dc40d4724f227825ac
tree58af2e5c048cbe3817e19442951fb3b7f8c38da7
parente3e7b13bffae85e2806c73e3ccacd4447bcb19ed
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