summaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/serial_core.c
diff options
context:
space:
mode:
authorIlpo Järvinen <ilpo.jarvinen@linux.intel.com>2023-03-09 10:09:23 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-03-17 15:00:40 +0100
commit044498cd89a1a580a3145b2c5fb34d5e2f3b9908 (patch)
treeed0a03ee1ac6ba72648c4d46cd760172e2191888 /drivers/tty/serial/serial_core.c
parent1690ca513da18b1f7de89c39faf78278d302b867 (diff)
downloadlinux-stable-044498cd89a1a580a3145b2c5fb34d5e2f3b9908.tar.gz
linux-stable-044498cd89a1a580a3145b2c5fb34d5e2f3b9908.tar.bz2
linux-stable-044498cd89a1a580a3145b2c5fb34d5e2f3b9908.zip
serial: Remove uart_wait_until_sent() forward declaration
Remove unnecessary forward declaration of uart_wait_until_sent(). Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Link: https://lore.kernel.org/r/20230309080923.11778-9-ilpo.jarvinen@linux.intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/serial_core.c')
-rw-r--r--drivers/tty/serial/serial_core.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/tty/serial/serial_core.c b/drivers/tty/serial/serial_core.c
index c494cb39394b..db7f6c0c39bf 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);