Skip to contentSkip to conversation

- 2.6.2 - profile.h - compiler cleanup

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

lore
Share & tools
lore

Ron Gage

author
#0 lore raw

PATCH 1/1 - 2.6.2 - profile.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/profile.h +6 -0
@@ -57,11 +57,15 @@
 
 static inline int profile_event_register(enum profile_type t, struct notifier_block * n)
 {
+	t = t;
+	n = n;
 	return -ENOSYS;
 }
 
 static inline int profile_event_unregister(enum profile_type t, struct notifier_block * n)
 {
+	t = t;
+	n = n;
 	return -ENOSYS;
 }
 
@@ -71,11 +75,13 @@
 
 static inline int register_profile_notifier(struct notifier_block * nb)
 {
+	nb = nb;
 	return -ENOSYS;
 }
 
 static inline int unregister_profile_notifier(struct notifier_block * nb)
 {
+	nb = nb;
 	return -ENOSYS;
 }
 

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