Skip to contentSkip to conversation

- 2.6.2 - module.h - compiler cleanups

PATCH New Ron Gage 1 participant 1 message Feb 13, 2004

Subsystems (2)
lore
Share & tools
lore

Ron Gage

author
#0 lore raw

PATCH 1/1 - 2.6.2 - module.h - compiler cleanups

This patch gets rid of some "parameter defined but not used" warnings from module.h.

Hopefully someone will find this of some (probably limited) use. :)

Signature · 2 lines
Ron Gage - LPIC1, MCP, A+, Net+
Pontiac, Michigan
include/linux/module.h +2 -0
@@ -339,9 +339,11 @@
 }
 static inline void module_put(struct module *module)
 {
+	module = module;
 }
 static inline void __module_get(struct module *module)
 {
+	module = module;
 }
 #define symbol_put(x) do { } while(0)
 #define symbol_put_addr(p) do { } while(0)

_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors