1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-28 23:32:50 +02:00
openwrt-xburst/target/linux/generic/patches-2.6.32/033-x86_unused_variables.patch

12 lines
304 B
Diff
Raw Normal View History

--- a/arch/x86/include/asm/percpu.h
+++ b/arch/x86/include/asm/percpu.h
@@ -76,7 +76,7 @@ extern void __bad_percpu_size(void);
do { \
typedef typeof(var) T__; \
if (0) { \
- T__ tmp__; \
+ T__ tmp__ __maybe_unused; \
tmp__ = (val); \
} \
switch (sizeof(var)) { \