]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
serial: pch_uart: fix compilation warning
authorLuis Henriques <luis.henriques@canonical.com>
Wed, 14 Aug 2013 22:18:37 +0000 (23:18 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 Aug 2013 01:33:43 +0000 (18:33 -0700)
commit09a5163f5c0eb0944f3a2c219acd75933f74fda2
tree42f902793ebc3591b798c12890456c8e6baae474
parent1ef39808ca27837017a433f94aa7055cb8490e80
serial: pch_uart: fix compilation warning

Function wait_for_xmitr is invoked only on functions that either depend
on CONFIG_CONSOLE_POLL or CONFIG_SERIAL_PCH_UART_CONSOLE.

This patch fixes the following warning:

drivers/tty/serial/pch_uart.c:1504:13: warning: ‘wait_for_xmitr’ defined but not used [-Wunused-function]

Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/pch_uart.c