Skip to contentSkip to conversation

- 2.6.2 - init/main.c - 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 - init/main.c - compiler cleanup

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

Signature · 2 lines
Ron Gage - LPIC1, MCP, A+, Net+
Pontiac, Michigan
init/main.c +1 -1
@@ -304,7 +304,7 @@
 #endif
 
 static inline void setup_per_cpu_areas(void) { }
-static inline void smp_prepare_cpus(unsigned int maxcpus) { }
+static inline void smp_prepare_cpus(unsigned int maxcpus) { maxcpus = maxcpus; }
 
 #else
 

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