From: Adrian Bunk <bunk@stusta.de>
To: kkeil@suse.de, kai.germaschewski@gmx.de
Cc: isdn4linux@listserv.isdn4linux.de, linux-kernel@vger.kernel.org
Subject: [2.6 patch] drivers/isdn/: "extern inline" -> "static inline"
Date: Sun, 30 Oct 2005 02:43:04 +0200 [thread overview]
Message-ID: <20051030004304.GQ4180@stusta.de> (raw)
"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
/*
next reply other threads:[~2005-10-30 0:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-30 0:43 Adrian Bunk [this message]
2005-10-30 14:44 ` [2.6 patch] drivers/isdn/: "extern inline" -> "static inline" Simon Richter
-- strict thread matches above, loose matches on Subject: below --
2005-11-07 21:18 Adrian Bunk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20051030004304.GQ4180@stusta.de \
--to=bunk@stusta.de \
--cc=isdn4linux@listserv.isdn4linux.de \
--cc=kai.germaschewski@gmx.de \
--cc=kkeil@suse.de \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.