提交 b7b4d7a4 编写于 作者: A Adrian Bunk 提交者: Linus Torvalds

[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: NAdrian Bunk <bunk@stusta.de>
Acked-by: NKarsten Keil <kkeil@suse.de>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 2a10e0b2
...@@ -181,17 +181,17 @@ typedef struct act2000_card { ...@@ -181,17 +181,17 @@ typedef struct act2000_card {
char regname[35]; /* Name used for request_region */ char regname[35]; /* Name used for request_region */
} act2000_card; } act2000_card;
extern __inline__ void act2000_schedule_tx(act2000_card *card) static inline void act2000_schedule_tx(act2000_card *card)
{ {
schedule_work(&card->snd_tq); schedule_work(&card->snd_tq);
} }
extern __inline__ void act2000_schedule_rx(act2000_card *card) static inline void act2000_schedule_rx(act2000_card *card)
{ {
schedule_work(&card->rcv_tq); schedule_work(&card->rcv_tq);
} }
extern __inline__ void act2000_schedule_poll(act2000_card *card) static inline void act2000_schedule_poll(act2000_card *card)
{ {
schedule_work(&card->poll_tq); schedule_work(&card->poll_tq);
} }
......
...@@ -330,7 +330,7 @@ typedef struct actcapi_msg { ...@@ -330,7 +330,7 @@ typedef struct actcapi_msg {
} msg; } msg;
} actcapi_msg; } actcapi_msg;
extern __inline__ unsigned short static inline unsigned short
actcapi_nextsmsg(act2000_card *card) actcapi_nextsmsg(act2000_card *card)
{ {
unsigned long flags; unsigned long flags;
......
...@@ -43,7 +43,6 @@ extern int send_and_receive(int, unsigned int, unsigned char, unsigned char, ...@@ -43,7 +43,6 @@ extern int send_and_receive(int, unsigned int, unsigned char, unsigned char,
RspMessage *, int); RspMessage *, int);
extern int sendmessage(int, unsigned int, unsigned int, unsigned int, extern int sendmessage(int, unsigned int, unsigned int, unsigned int,
unsigned int, unsigned int, unsigned int, unsigned int *); unsigned int, unsigned int, unsigned int, unsigned int *);
extern inline void pullphone(char *, char *);
#ifdef DEBUG #ifdef DEBUG
/* /*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册