[2.6 patch] ip2main.c: remove outdated set_modem_info declaration

From: Adrian Bunk
Date: Thu Jul 01 2004 - 17:25:21 EST


I got the following warning in 2.6.7-mm5:

<-- snip -->

...
CC [M] drivers/char/ip2main.o
...
drivers/char/ip2main.c:205: warning: `set_modem_info' declared `static' but never defined
...

<-- snip -->

The following patch removes this outdated declaration:


Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

--- linux-2.6.7-mm5-modular/drivers/char/ip2main.c.old 2004-07-01 23:48:49.000000000 +0200
+++ linux-2.6.7-mm5-modular/drivers/char/ip2main.c 2004-07-01 23:49:55.000000000 +0200
@@ -202,7 +202,6 @@
static void ip2_wait_until_sent(PTTY,int);

static void set_params (i2ChanStrPtr, struct termios *);
-static int set_modem_info(i2ChanStrPtr, unsigned int, unsigned int *);
static int get_serial_info(i2ChanStrPtr, struct serial_struct *);
static int set_serial_info(i2ChanStrPtr, struct serial_struct *);



cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed

-
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/