Skip to content

Commit

Permalink
[PATCH] drivers/isdn/: "extern inline" -> "static inline"
Browse files Browse the repository at this point in the history
"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>
  • Loading branch information
Adrian Bunk authored and Linus Torvalds committed Jan 9, 2006
1 parent 2a10e0b commit b7b4d7a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
6 changes: 3 additions & 3 deletions drivers/isdn/act2000/act2000.h
Original file line number Diff line number Diff line change
Expand Up @@ -181,17 +181,17 @@ typedef struct act2000_card {
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);
}
Expand Down
2 changes: 1 addition & 1 deletion drivers/isdn/act2000/capi.h
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ typedef struct actcapi_msg {
} msg;
} actcapi_msg;

extern __inline__ unsigned short
static inline unsigned short
actcapi_nextsmsg(act2000_card *card)
{
unsigned long flags;
Expand Down
1 change: 0 additions & 1 deletion drivers/isdn/sc/command.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ extern int send_and_receive(int, unsigned int, unsigned char, unsigned char,
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
/*
Expand Down

0 comments on commit b7b4d7a

Please sign in to comment.