Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 463e2a2b authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman
Browse files

serial: fsl_lpuart: remove build warning



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

Reported-by: default avatarkbuild test robot <fengguang.wu@intel.com>
Cc: Nicolae Rosia <nicolae_rosia@mentor.com>
Cc: Stefan Golinschi <stefan.golinschi@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b9c8b7fc
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -473,8 +473,6 @@ static int lpuart_poll_init(struct uart_port *port)

static void lpuart_poll_put_char(struct uart_port *port, unsigned char c)
{
	unsigned int status;

	/* drain */
	while (!(readb(port->membase + UARTSR1) & UARTSR1_TDRE))
		barrier();