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 /include/linux | |
| 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 'include/linux')
| -rw-r--r-- | include/linux/module.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/module.h b/include/linux/module.h index 507fa6c563ef..eb5540bd3119 100644 --- a/include/linux/module.h +++ b/include/linux/module.h @@ -437,8 +437,6 @@ static inline void __deprecated _MOD_INC_USE_COUNT(struct module *module) #endif } #define EXPORT_NO_SYMBOLS -extern int module_dummy_usage; -#define GET_USE_COUNT(module) (module_dummy_usage) #define MOD_IN_USE 0 #define __MODULE_STRING(x) __stringify(x) |
