summaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-2.6.30/033-linux_unused_variable.patch
blob: 8d77b43929419289fcaef0e364c2214d68d064d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/include/linux/pagemap.h
+++ b/include/linux/pagemap.h
@@ -422,7 +422,7 @@ static inline int fault_in_pages_writeab
 
 static inline int fault_in_pages_readable(const char __user *uaddr, int size)
 {
-	volatile char c;
+	volatile char c __maybe_unused;
 	int ret;
 
 	if (unlikely(size == 0))