1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-26 12:39:33 +02:00
openwrt-xburst/target/linux/generic/patches-2.6.30/033-linux_unused_variable.patch
florian a7429453a2 [kernel/2.6.30] remove some annoying warnings and fix snd modules build
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31365 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-20 13:25:26 +00:00

12 lines
298 B
Diff

--- 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))