aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/rb532
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2012-04-15 18:53:48 +0000
committerFlorian Fainelli <florian@openwrt.org>2012-04-15 18:53:48 +0000
commitc0ca7aed8e450008705bb3d4296e0a9aa83bb5fb (patch)
tree60f9820882e5260a855262149256782f742aaea7 /target/linux/rb532
parenta70ad13a799b5516a47c472e6502f2007d95d657 (diff)
downloadupstream-c0ca7aed8e450008705bb3d4296e0a9aa83bb5fb.tar.gz
upstream-c0ca7aed8e450008705bb3d4296e0a9aa83bb5fb.tar.bz2
upstream-c0ca7aed8e450008705bb3d4296e0a9aa83bb5fb.zip
mark set but unused variables as such
SVN-Revision: 31296
Diffstat (limited to 'target/linux/rb532')
-rw-r--r--target/linux/rb532/patches-2.6.32/003-unused_variables.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/rb532/patches-2.6.32/003-unused_variables.patch b/target/linux/rb532/patches-2.6.32/003-unused_variables.patch
new file mode 100644
index 0000000000..589860feea
--- /dev/null
+++ b/target/linux/rb532/patches-2.6.32/003-unused_variables.patch
@@ -0,0 +1,11 @@
+--- a/arch/mips/rb532/prom.c
++++ b/arch/mips/rb532/prom.c
+@@ -73,7 +73,7 @@ void __init prom_setup_cmdline(void)
+ static char cmd_line[CL_SIZE] __initdata;
+ char *cp, *board;
+ int prom_argc;
+- char **prom_argv, **prom_envp;
++ char **prom_argv, **prom_envp __maybe_unused;
+ int i;
+
+ prom_argc = fw_arg0;