mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [2.6 patch] ip2main.c: remove outdated set_modem_info declaration
@ 2004-07-01 22:21 Adrian Bunk
  0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2004-07-01 22:21 UTC (permalink / raw)
  To: linux-kernel

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@fs.tum.de>

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-07-01 22:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-01 22:21 [2.6 patch] ip2main.c: remove outdated set_modem_info 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

all inboxes | Powered by JetHome®