From: Adrian Bunk <bunk@stusta.de>
To: Andrew Morton <akpm@osdl.org>
Cc: rusty@rustcorp.com.au, linux-kernel@vger.kernel.org
Subject: [2.6 patch] kernel/intermodule.c: make inter_module_get static
Date: Mon, 7 Feb 2005 00:33:13 +0100 [thread overview]
Message-ID: <20050206233313.GI3129@stusta.de> (raw)
There's no longer any user of inter_module_get outside of
intermodule.c .
Signed-off-by: Adrian Bunk <bunk@stusta.de>
---
include/linux/module.h | 1 -
kernel/intermodule.c | 3 +--
2 files changed, 1 insertion(+), 3 deletions(-)
This patch was already sent on:
- 12 Dec 2004
--- linux-2.6.10-rc2-mm4-full/include/linux/module.h.old 2004-12-12 02:53:34.000000000 +0100
+++ linux-2.6.10-rc2-mm4-full/include/linux/module.h 2004-12-12 02:53:50.000000000 +0100
@@ -571,7 +571,6 @@
extern void __deprecated inter_module_register(const char *,
struct module *, const void *);
extern void __deprecated inter_module_unregister(const char *);
-extern const void * __deprecated inter_module_get(const char *);
extern const void * __deprecated inter_module_get_request(const char *,
const char *);
extern void __deprecated inter_module_put(const char *);
--- linux-2.6.10-rc2-mm4-full/kernel/intermodule.c.old 2004-12-12 02:53:57.000000000 +0100
+++ linux-2.6.10-rc2-mm4-full/kernel/intermodule.c 2004-12-12 02:54:17.000000000 +0100
@@ -113,7 +113,7 @@
* Try to increment the use count on the owning module, if that fails
* then return NULL. Otherwise return the userdata.
*/
-const void *inter_module_get(const char *im_name)
+static const void *inter_module_get(const char *im_name)
{
struct list_head *tmp;
struct inter_module_entry *ime;
@@ -178,6 +178,5 @@
EXPORT_SYMBOL(inter_module_register);
EXPORT_SYMBOL(inter_module_unregister);
-EXPORT_SYMBOL(inter_module_get);
EXPORT_SYMBOL(inter_module_get_request);
EXPORT_SYMBOL(inter_module_put);
next reply other threads:[~2005-02-06 23:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-06 23:33 Adrian Bunk [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-12-12 19:40 [2.6 patch] kernel/intermodule.c: make inter_module_get static 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=20050206233313.GI3129@stusta.de \
--to=bunk@stusta.de \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rusty@rustcorp.com.au \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox