Skip to contentSkip to conversation

- 2.6.2 - cpu.h - compiler cleanup

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 - cpu.h - compiler cleanup

This patch eliminates "parameter defined but not used" warnings.

Signature · 2 lines
Ron Gage - LPIC1, MCP, A+, Net+
Pontiac, Michigan
include/linux/cpu.h +2 -0
@@ -45,10 +45,12 @@
 
 static inline int register_cpu_notifier(struct notifier_block *nb)
 {
+	nb = nb;
 	return 0;
 }
 static inline void unregister_cpu_notifier(struct notifier_block *nb)
 {
+	nb = nb;
 }
 
 #define lock_cpu_hotplug()	do { } while (0)

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