remove some annoying warnings and fix snd modules build
[openwrt/openwrt.git] / target / linux / generic / patches-2.6.30 / 033-linux_unused_variable.patch
1 --- a/include/linux/pagemap.h
2 +++ b/include/linux/pagemap.h
3 @@ -422,7 +422,7 @@ static inline int fault_in_pages_writeab
4
5 static inline int fault_in_pages_readable(const char __user *uaddr, int size)
6 {
7 - volatile char c;
8 + volatile char c __maybe_unused;
9 int ret;
10
11 if (unlikely(size == 0))