diff options
| author | Christoph Hellwig <hch@sgi.com> | 2003-01-15 17:28:13 -0800 |
|---|---|---|
| committer | Christoph Hellwig <hch@sgi.com> | 2003-01-15 17:28:13 -0800 |
| commit | 91f5fe708e8fdd03314354ce13636e7448651838 (patch) | |
| tree | bd3d2dfc3c09cb9fee82f2f1c9ccc91a5243998c /kernel | |
| parent | 76540ee05766927b03118bc6553124bdfb24731e (diff) | |
[PATCH] remove GET_USE_COUNT
This is a left-over from the old modules code, Rusty stubbed it out
to always return 0. Three scsi pcmcia driver check it for beeing non-NULL,
trying to work around their unload races. I've added #warnings there
and stubbed out the GET_USE_COUNT so we can remove it from the core.
Diffstat (limited to 'kernel')
| -rw-r--r-- | kernel/module.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/kernel/module.c b/kernel/module.c index acae11eea73f..864828099b36 100644 --- a/kernel/module.c +++ b/kernel/module.c @@ -1514,7 +1514,3 @@ static int __init symbols_init(void) } __initcall(symbols_init); - -/* Obsolete lvalue for broken code which asks about usage */ -int module_dummy_usage = 1; -EXPORT_SYMBOL(module_dummy_usage); |
