Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

serial: fsl_lpuart: remove build warning

commit 2a41bc2a2b05 ("tty: serial: fsl_lpuart: add polled console
functions") caused a build warning about an unused variable, so fix it.

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Cc: Nicolae Rosia <nicolae_rosia@mentor.com>
Cc: Stefan Golinschi <stefan.golinschi@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

-2
-2
drivers/tty/serial/fsl_lpuart.c
··· 473 473 474 474 static void lpuart_poll_put_char(struct uart_port *port, unsigned char c) 475 475 { 476 - unsigned int status; 477 - 478 476 /* drain */ 479 477 while (!(readb(port->membase + UARTSR1) & UARTSR1_TDRE)) 480 478 barrier();