* [2.6 patch] ip2main.c: remove stale function declaration
@ 2004-10-30 5:52 Adrian Bunk
0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2004-10-30 5:52 UTC (permalink / raw)
To: linux-computone; +Cc: linux-kernel
I'm getting the following compile warning in recent 2.6 kernels:
<-- snip -->
...
CC drivers/char/ip2main.o
...
drivers/char/ip2main.c:205: warning: 'set_modem_info' declared `static' but never defined
...
<-- snip -->
gcc is right, and the patch below removes this finction declaration.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
--- linux-2.6.10-rc1-mm2-full/drivers/char/ip2main.c.old 2004-10-30 04:27:14.000000000 +0200
+++ linux-2.6.10-rc1-mm2-full/drivers/char/ip2main.c 2004-10-30 04:27:20.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 __user *);
static int set_serial_info(i2ChanStrPtr, struct serial_struct __user *);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-10-30 5:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-30 5:52 [2.6 patch] ip2main.c: remove stale function declaration Adrian Bunk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox