Skip to contentSkip to conversation

- 2.6.2 - skbuff.h - compiler cleanup

PATCH New Ron Gage 1 participant 2 messages Feb 13, 2004

Subsystems (2)
lore
Share & tools
lore

Ron Gage

author
#0 lore raw

PATCH 1/1 - 2.6.2 - skbuff.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/skbuff.h +1 -0
@@ -1149,6 +1149,7 @@
 
 static inline void kunmap_skb_frag(void *vaddr)
 {
+	vaddr = vaddr;
 	kunmap_atomic(vaddr, KM_SKB_DATA_SOFTIRQ);
 #ifdef CONFIG_HIGHMEM
 	local_bh_enable();

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

author
#1 lore raw

PATCH 1/1 - 2.6.2 - skbuff.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/skbuff.h +1 -0
@@ -1149,6 +1149,7 @@
 
 static inline void kunmap_skb_frag(void *vaddr)
 {
+	vaddr = vaddr;
 	kunmap_atomic(vaddr, KM_SKB_DATA_SOFTIRQ);
 #ifdef CONFIG_HIGHMEM
 	local_bh_enable();

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