2005-09-18 22:00:38

by Grant Coady

[permalink] [raw]
Subject: [PATCH] driver: char: n_hdlc.c - remove unused declaration

Hi Andrew, Alan,

Tripped over this while testing something else with make allmodconfig,
14-rc1-mm1 has the declared function removed (compared with 2.6.14-rc1-git4).

Grant.

This patch silences a warning: "drivers/char/n_hdlc.c:194: warning:
`n_hdlc_tty_room' declared `static' but never defined", the associated
function is gone already.

Signed-off-by: Grant Coady <[email protected]>

---
n_hdlc.c | 1 -
1 files changed, 1 deletion(-)

--- linux-2.6.14-rc1-mm1/drivers/char/n_hdlc.c 2005-09-18 08:51:11.000000000 +1000
+++ linux-2.6.14-rc1-mm1b/drivers/char/n_hdlc.c 2005-09-19 07:40:49.000000000 +1000
@@ -191,7 +191,6 @@
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);