Messages in this thread Patch in this message | | | Date | Sun, 30 Oct 2005 02:43:04 +0200 | From | Adrian Bunk <> | Subject | [2.6 patch] drivers/isdn/: "extern inline" -> "static inline" |
| |
"extern inline" doesn't make much sense.
Since there's no pullphone() function this patch removes the dead prototype.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
---
drivers/isdn/act2000/act2000.h | 6 +++--- drivers/isdn/act2000/capi.h | 2 +- drivers/isdn/sc/command.c | 1 - 3 files changed, 4 insertions(+), 5 deletions(-)
--- linux-2.6.14-rc5-mm1-full/drivers/isdn/act2000/act2000.h.old 2005-10-30 02:06:09.000000000 +0200 +++ linux-2.6.14-rc5-mm1-full/drivers/isdn/act2000/act2000.h 2005-10-30 02:06:19.000000000 +0200 @@ -181,17 +181,17 @@ char regname[35]; /* Name used for request_region */ } 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); } -extern __inline__ void act2000_schedule_rx(act2000_card *card) +static inline void act2000_schedule_rx(act2000_card *card) { 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); } --- linux-2.6.14-rc5-mm1-full/drivers/isdn/act2000/capi.h.old 2005-10-30 02:06:26.000000000 +0200 +++ linux-2.6.14-rc5-mm1-full/drivers/isdn/act2000/capi.h 2005-10-30 02:06:31.000000000 +0200 @@ -330,7 +330,7 @@ } msg; } actcapi_msg; -extern __inline__ unsigned short +static inline unsigned short actcapi_nextsmsg(act2000_card *card) { unsigned long flags; --- linux-2.6.14-rc5-mm1-full/drivers/isdn/sc/command.c.old 2005-10-30 02:06:39.000000000 +0200 +++ linux-2.6.14-rc5-mm1-full/drivers/isdn/sc/command.c 2005-10-30 02:07:01.000000000 +0200 @@ -43,7 +43,6 @@ RspMessage *, int); extern int sendmessage(int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int *); -extern inline void pullphone(char *, char *); #ifdef DEBUG /* - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |