Skip to contentSkip to conversation

ip2main.c: remove outdated set_modem_info declaration

PATCH New Adrian Bunk 1 participant 1 message Jul 1, 2004 Char and misc drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ip2main.c: remove outdated set_modem_info declaration

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:

drivers/char/ip2main.c renamed from drivers/char/ip2main.c.old +0 -1
@@ -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

Signature · 4 lines
       "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