From: Ilpo Järvinen Date: Thu, 9 Mar 2023 08:09:23 +0000 (+0200) Subject: serial: Remove uart_wait_until_sent() forward declaration X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=044498cd89a1a580a3145b2c5fb34d5e2f3b9908;p=linux.git serial: Remove uart_wait_until_sent() forward declaration Remove unnecessary forward declaration of uart_wait_until_sent(). Signed-off-by: Ilpo Järvinen Link: https://lore.kernel.org/r/20230309080923.11778-9-ilpo.jarvinen@linux.intel.com Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/tty/serial/serial_core.c b/drivers/tty/serial/serial_core.c index c494cb39394b1..db7f6c0c39bf7 100644 --- a/drivers/tty/serial/serial_core.c +++ b/drivers/tty/serial/serial_core.c @@ -49,7 +49,6 @@ static struct lock_class_key port_lock_key; */ #define RS485_MAX_RTS_DELAY 100 /* msecs */ -static void uart_wait_until_sent(struct tty_struct *tty, int timeout); static void uart_change_pm(struct uart_state *state, enum uart_pm_state pm_state);