From: Grant Coady Date: Tue, 10 Jan 2006 04:54:18 +0000 (-0800) Subject: [PATCH] n_hdlc.c: remove unused declaration X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c58cbb6cbb635f53c8b340ae8da9e84b263cc41a;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git [PATCH] n_hdlc.c: remove unused declaration drivers/char/n_hdlc.c:194: warning: `n_hdlc_tty_room' declared `static' but never defined Signed-off-by: Grant Coady Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/char/n_hdlc.c b/drivers/char/n_hdlc.c index 70f487dd7b8d..9f54733f1623 100644 --- a/drivers/char/n_hdlc.c +++ b/drivers/char/n_hdlc.c @@ -191,7 +191,6 @@ static unsigned int n_hdlc_tty_poll(struct tty_struct *tty, struct file *filp, poll_table *wait); static int n_hdlc_tty_open(struct tty_struct *tty); static void n_hdlc_tty_close(struct tty_struct *tty); -static int n_hdlc_tty_room(struct tty_struct *tty); static void n_hdlc_tty_receive(struct tty_struct *tty, const __u8 *cp, char *fp, int count); static void n_hdlc_tty_wakeup(struct tty_struct *tty);