Skip to contentSkip to conversation

- 2.6.2 - gfp.h - compiler cleanup

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

Subsystems (3)
lore
Share & tools
lore

Ron Gage

author
#0 lore raw

PATCH 1/1 - 2.6.2 - gfp.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/gfp.h +1 -0
@@ -66,6 +66,7 @@
 extern struct page * FASTCALL(__alloc_pages(unsigned int, unsigned int, struct zonelist *));
 static inline struct page * alloc_pages_node(int nid, unsigned int gfp_mask, unsigned int order)
 {
+	nid = nid;
 	if (unlikely(order >= MAX_ORDER))
 		return NULL;
 

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