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

From: Grant Coady
Date: Sun Sep 18 2005 - 17:00:57 EST


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 <gcoady@xxxxxxxxx>

---
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);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/