summaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-2.6.30/033-linux_unused_variable.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/generic/patches-2.6.30/033-linux_unused_variable.patch')
-rw-r--r--target/linux/generic/patches-2.6.30/033-linux_unused_variable.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/generic/patches-2.6.30/033-linux_unused_variable.patch b/target/linux/generic/patches-2.6.30/033-linux_unused_variable.patch
new file mode 100644
index 000000000..8d77b4392
--- /dev/null
+++ b/target/linux/generic/patches-2.6.30/033-linux_unused_variable.patch
@@ -0,0 +1,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))