Skip to contentSkip to conversation

- 2.6.2 - bugs.h - compiler cleanups

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 - bugs.h - compiler cleanups

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

Signature · 2 lines
Ron Gage - LPIC1, MCP, A+, Net+
Pontiac, Michigan
include/asm-i386/bugs.h +3 -0
@@ -28,6 +28,7 @@
 
 static int __init no_halt(char *s)
 {
+	s = s;
 	boot_cpu_data.hlt_works_ok = 0;
 	return 1;
 }
@@ -36,6 +37,7 @@
 
 static int __init mca_pentium(char *s)
 {
+	s = s;
 	mca_pentium_flag = 1;
 	return 1;
 }
@@ -44,6 +46,7 @@
 
 static int __init no_387(char *s)
 {
+	s = s;
 	boot_cpu_data.hard_math = 0;
 	write_cr0(0xE | read_cr0());
 	return 1;

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