Skip to contentSkip to conversation

- 2.6.2 - kdev_t.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 - kdev_t.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/kdev_t.h +2 -0
@@ -35,6 +35,7 @@
 
 static inline int new_valid_dev(dev_t dev)
 {
+	dev = dev;
 	return 1;
 }
 
@@ -54,6 +55,7 @@
 
 static inline int huge_valid_dev(dev_t dev)
 {
+	dev = dev;
 	return 1;
 }
 

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