]> git.baikalelectronics.ru Git - 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)
commitb3217b8af1008e6d53b4e7961db70bec3717c50e
tree42f902793ebc3591b798c12890456c8e6baae474
parent7872667638d1f3a6bcb797558944fa615985c2a5
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