diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-05-05 11:43:34 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-05-05 11:43:34 +0000 |
commit | 3a416fef4f9b7603bd42ec641148295cce6f998d (patch) | |
tree | 64eadb3d1c8cc4f6fe4cb32dab5dd57935e70e09 /target/linux/generic/patches-2.6.32/032-mips_unused_variables.patch | |
parent | c52b8023cfb767d102e259222e564738e7ff1899 (diff) | |
download | master-187ad058-3a416fef4f9b7603bd42ec641148295cce6f998d.tar.gz master-187ad058-3a416fef4f9b7603bd42ec641148295cce6f998d.tar.bz2 master-187ad058-3a416fef4f9b7603bd42ec641148295cce6f998d.zip |
linux/2.6.32: R.I.P.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31597 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic/patches-2.6.32/032-mips_unused_variables.patch')
-rw-r--r-- | target/linux/generic/patches-2.6.32/032-mips_unused_variables.patch | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/target/linux/generic/patches-2.6.32/032-mips_unused_variables.patch b/target/linux/generic/patches-2.6.32/032-mips_unused_variables.patch deleted file mode 100644 index 6ecc8304d4..0000000000 --- a/target/linux/generic/patches-2.6.32/032-mips_unused_variables.patch +++ /dev/null @@ -1,55 +0,0 @@ ---- a/arch/mips/kernel/signal.c -+++ b/arch/mips/kernel/signal.c -@@ -101,7 +101,7 @@ static int protected_save_fp_context(str - - static int protected_restore_fp_context(struct sigcontext __user *sc) - { -- int err, tmp; -+ int err, tmp __maybe_unused; - while (1) { - lock_fpu_owner(); - own_fpu_inatomic(0); ---- a/arch/mips/kernel/syscall.c -+++ b/arch/mips/kernel/syscall.c -@@ -372,7 +372,7 @@ save_static_function(sys_sysmips); - static int __used noinline - _sys_sysmips(nabi_no_regargs struct pt_regs regs) - { -- long cmd, arg1, arg2, arg3; -+ long cmd, arg1, arg2, arg3 __maybe_unused; - - cmd = regs.regs[4]; - arg1 = regs.regs[5]; ---- a/arch/mips/mm/init.c -+++ b/arch/mips/mm/init.c -@@ -323,7 +323,7 @@ static int __init page_is_ram(unsigned l - void __init paging_init(void) - { - unsigned long max_zone_pfns[MAX_NR_ZONES]; -- unsigned long lastpfn; -+ unsigned long lastpfn __maybe_unused; - - pagetable_init(); - ---- a/include/linux/pagemap.h -+++ b/include/linux/pagemap.h -@@ -412,7 +412,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)) ---- a/arch/mips/mm/c-r4k.c -+++ b/arch/mips/mm/c-r4k.c -@@ -1076,7 +1076,7 @@ static int __cpuinit probe_scache(void) - unsigned long flags, addr, begin, end, pow2; - unsigned int config = read_c0_config(); - struct cpuinfo_mips *c = ¤t_cpu_data; -- int tmp; -+ int tmp __maybe_unused; - - if (config & CONF_SC) - return 0; |