diff options
author | Adrian Bunk <bunk@stusta.de> | 2006-01-08 04:02:16 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-08 23:13:48 -0500 |
commit | b7b4d7a4666454b40b45a853bd1d296af37a85f0 (patch) | |
tree | 4049f920642bf2c48a8f1f5c237aef241ef7a8c0 | |
parent | 2a10e0b28b196051ae71829e5b989cba00513289 (diff) |
[PATCH] drivers/isdn/: "extern inline" -> "static inline"
"extern inline" -> "static inline"
Since there's no pullphone() function this patch removes the dead
prototype.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Acked-by: Karsten Keil <kkeil@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r-- | drivers/isdn/act2000/act2000.h | 6 | ||||
-rw-r--r-- | drivers/isdn/act2000/capi.h | 2 | ||||
-rw-r--r-- | drivers/isdn/sc/command.c | 1 |
3 files changed, 4 insertions, 5 deletions
diff --git a/drivers/isdn/act2000/act2000.h b/drivers/isdn/act2000/act2000.h index b091d1a54125..d4c50512a1ff 100644 --- a/drivers/isdn/act2000/act2000.h +++ b/drivers/isdn/act2000/act2000.h | |||
@@ -181,17 +181,17 @@ typedef struct act2000_card { | |||
181 | char regname[35]; /* Name used for request_region */ | 181 | char regname[35]; /* Name used for request_region */ |
182 | } act2000_card; | 182 | } act2000_card; |
183 | 183 | ||
184 | extern __inline__ void act2000_schedule_tx(act2000_card *card) | 184 | static inline void act2000_schedule_tx(act2000_card *card) |
185 | { | 185 | { |
186 | schedule_work(&card->snd_tq); | 186 | schedule_work(&card->snd_tq); |
187 | } | 187 | } |
188 | 188 | ||
189 | extern __inline__ void act2000_schedule_rx(act2000_card *card) | 189 | static inline void act2000_schedule_rx(act2000_card *card) |
190 | { | 190 | { |
191 | schedule_work(&card->rcv_tq); | 191 | schedule_work(&card->rcv_tq); |
192 | } | 192 | } |
193 | 193 | ||
194 | extern __inline__ void act2000_schedule_poll(act2000_card *card) | 194 | static inline void act2000_schedule_poll(act2000_card *card) |
195 | { | 195 | { |
196 | schedule_work(&card->poll_tq); | 196 | schedule_work(&card->poll_tq); |
197 | } | 197 | } |
diff --git a/drivers/isdn/act2000/capi.h b/drivers/isdn/act2000/capi.h index f6d5f530b86b..e82a9289ad96 100644 --- a/drivers/isdn/act2000/capi.h +++ b/drivers/isdn/act2000/capi.h | |||
@@ -330,7 +330,7 @@ typedef struct actcapi_msg { | |||
330 | } msg; | 330 | } msg; |
331 | } actcapi_msg; | 331 | } actcapi_msg; |
332 | 332 | ||
333 | extern __inline__ unsigned short | 333 | static inline unsigned short |
334 | actcapi_nextsmsg(act2000_card *card) | 334 | actcapi_nextsmsg(act2000_card *card) |
335 | { | 335 | { |
336 | unsigned long flags; | 336 | unsigned long flags; |
diff --git a/drivers/isdn/sc/command.c b/drivers/isdn/sc/command.c index 19f2fcf0ae4a..b4b24335f716 100644 --- a/drivers/isdn/sc/command.c +++ b/drivers/isdn/sc/command.c | |||
@@ -43,7 +43,6 @@ extern int send_and_receive(int, unsigned int, unsigned char, unsigned char, | |||
43 | RspMessage *, int); | 43 | RspMessage *, int); |
44 | extern int sendmessage(int, unsigned int, unsigned int, unsigned int, | 44 | extern int sendmessage(int, unsigned int, unsigned int, unsigned int, |
45 | unsigned int, unsigned int, unsigned int, unsigned int *); | 45 | unsigned int, unsigned int, unsigned int, unsigned int *); |
46 | extern inline void pullphone(char *, char *); | ||
47 | 46 | ||
48 | #ifdef DEBUG | 47 | #ifdef DEBUG |
49 | /* | 48 | /* |