diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-10-28 02:47:35 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-10-28 02:47:35 -0400 |
commit | 463e2a2b8996aabc0dca67cc716a00e30bffc110 (patch) | |
tree | 71cccad08d28d54bb977d4122fa2b3ed007284cc /drivers/tty | |
parent | b9c8b7fc252cd8e7e629f14bb8a68d54889470da (diff) | |
download | linux-stable-463e2a2b8996aabc0dca67cc716a00e30bffc110.tar.gz linux-stable-463e2a2b8996aabc0dca67cc716a00e30bffc110.tar.bz2 linux-stable-463e2a2b8996aabc0dca67cc716a00e30bffc110.zip |
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>
Diffstat (limited to 'drivers/tty')
-rw-r--r-- | drivers/tty/serial/fsl_lpuart.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/tty/serial/fsl_lpuart.c b/drivers/tty/serial/fsl_lpuart.c index 49d7526e2587..23f09f2a14f7 100644 --- a/drivers/tty/serial/fsl_lpuart.c +++ b/drivers/tty/serial/fsl_lpuart.c @@ -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(); |