lkml.org 
[lkml]   [2005]   [Oct]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
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/
\
 
 \ /
  Last update: 2005-10-30 02:45    [W:0.035 / U:0.816 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site