Skip to content

Commit

Permalink
Finally remove the obnoxious inter_module_xxx()
Browse files Browse the repository at this point in the history
This was already a bad plan when I argued against adding it in the first
place. Good riddance.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
  • Loading branch information
David Woodhouse committed May 8, 2006
1 parent a15bdee commit 6f18a02
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 197 deletions.
9 changes: 0 additions & 9 deletions include/linux/module.h
Original file line number Diff line number Diff line change
Expand Up @@ -557,13 +557,4 @@ static inline void module_remove_driver(struct device_driver *driver)

#define __MODULE_STRING(x) __stringify(x)

/* Use symbol_get and symbol_put instead. You'll thank me. */
#define HAVE_INTER_MODULE
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_request(const char *,
const char *);
extern void __deprecated inter_module_put(const char *);

#endif /* _LINUX_MODULE_H */
3 changes: 0 additions & 3 deletions init/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -389,9 +389,6 @@ config SLOB
default !SLAB
bool

config OBSOLETE_INTERMODULE
tristate

menu "Loadable module support"

config MODULES
Expand Down
1 change: 0 additions & 1 deletion kernel/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ obj-$(CONFIG_SMP) += cpu.o spinlock.o
obj-$(CONFIG_DEBUG_SPINLOCK) += spinlock.o
obj-$(CONFIG_UID16) += uid16.o
obj-$(CONFIG_MODULES) += module.o
obj-$(CONFIG_OBSOLETE_INTERMODULE) += intermodule.o
obj-$(CONFIG_KALLSYMS) += kallsyms.o
obj-$(CONFIG_PM) += power/
obj-$(CONFIG_BSD_PROCESS_ACCT) += acct.o
Expand Down
184 changes: 0 additions & 184 deletions kernel/intermodule.c

This file was deleted.

0 comments on commit 6f18a02

Please sign in to comment.