MIPS: mark unused variables

SVN-Revision: 30782
This commit is contained in:
Florian Fainelli 2012-03-02 13:19:05 +00:00
parent c203860016
commit 112d6c7b74
2 changed files with 22 additions and 0 deletions

View file

@ -0,0 +1,11 @@
--- a/arch/mips/kernel/signal32.c
+++ b/arch/mips/kernel/signal32.c
@@ -115,7 +115,7 @@ static int protected_save_fp_context32(s
static int protected_restore_fp_context32(struct sigcontext32 __user *sc)
{
- int err, tmp;
+ int err, tmp __maybe_unused;
while (1) {
lock_fpu_owner();
own_fpu_inatomic(0);

View file

@ -0,0 +1,11 @@
--- a/fs/binfmt_elf.c
+++ b/fs/binfmt_elf.c
@@ -575,7 +575,7 @@ static int load_elf_binary(struct linux_
unsigned long elf_entry;
unsigned long interp_load_addr = 0;
unsigned long start_code, end_code, start_data, end_data;
- unsigned long reloc_func_desc = 0;
+ unsigned long reloc_func_desc __maybe_unused = 0;
int executable_stack = EXSTACK_DEFAULT;
unsigned long def_flags = 0;
struct {