Skip to contentSkip to conversation

- 2.6.2 - percpu.h - compiler cleanup

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

Subsystems (2)
lore
Share & tools
lore

Ron Gage

author
#0 lore raw

PATCH 1/1 - 2.6.2 - percpu.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/percpu.h +1 -0
@@ -44,6 +44,7 @@
 static inline void *__alloc_percpu(size_t size, size_t align)
 {
 	void *ret = kmalloc(size, GFP_KERNEL);
+	align = align;
 	if (ret)
 		memset(ret, 0, size);
 	return ret;

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