public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.6 patch] kernel/intermodule.c: make inter_module_get static
@ 2004-12-12 19:40 Adrian Bunk
  0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2004-12-12 19:40 UTC (permalink / raw)
  To: rusty; +Cc: linux-kernel

In -mm, there's no longer any user of inter_module_get outside of 
intermodule.c .


diffstat output:
 include/linux/module.h |    1 -
 kernel/intermodule.c   |    3 +--
 2 files changed, 1 insertion(+), 3 deletions(-)


Signed-off-by: Adrian Bunk <bunk@stusta.de>

--- 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);


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [2.6 patch] kernel/intermodule.c: make inter_module_get static
@ 2005-02-06 23:33 Adrian Bunk
  0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2005-02-06 23:33 UTC (permalink / raw)
  To: Andrew Morton; +Cc: rusty, linux-kernel

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);



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-02-06 23:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-06 23:33 [2.6 patch] kernel/intermodule.c: make inter_module_get static Adrian Bunk
  -- strict thread matches above, loose matches on Subject: below --
2004-12-12 19:40 Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox