diff options
author | David Daney <ddaney@caviumnetworks.com> | 2010-08-03 17:57:39 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2010-08-05 08:26:30 -0400 |
commit | 7281cd22973008a782860e48ed8d85d00204168c (patch) | |
tree | a7422ee8592cd9dc0cd191409a9a491a19031ea4 /arch/mips/include | |
parent | 9bb4d9dfd890372092338cc460b3f921c8be8e31 (diff) |
MIPS: Remove unused task_struct.trap_no field.
It is initialized to zero and only ever read. Remove it, and pass zero in
its place.
Signed-off-by: David Daney <ddaney@caviumnetworks.com>
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/1531/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/include')
-rw-r--r-- | arch/mips/include/asm/processor.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/mips/include/asm/processor.h b/arch/mips/include/asm/processor.h index 24d91f8618f0..0d629bb93cbe 100644 --- a/arch/mips/include/asm/processor.h +++ b/arch/mips/include/asm/processor.h | |||
@@ -229,7 +229,6 @@ struct thread_struct { | |||
229 | unsigned long cp0_badvaddr; /* Last user fault */ | 229 | unsigned long cp0_badvaddr; /* Last user fault */ |
230 | unsigned long cp0_baduaddr; /* Last kernel fault accessing USEG */ | 230 | unsigned long cp0_baduaddr; /* Last kernel fault accessing USEG */ |
231 | unsigned long error_code; | 231 | unsigned long error_code; |
232 | unsigned long trap_no; | ||
233 | unsigned long irix_trampoline; /* Wheee... */ | 232 | unsigned long irix_trampoline; /* Wheee... */ |
234 | unsigned long irix_oldctx; | 233 | unsigned long irix_oldctx; |
235 | #ifdef CONFIG_CPU_CAVIUM_OCTEON | 234 | #ifdef CONFIG_CPU_CAVIUM_OCTEON |
@@ -301,7 +300,6 @@ struct thread_struct { | |||
301 | .cp0_badvaddr = 0, \ | 300 | .cp0_badvaddr = 0, \ |
302 | .cp0_baduaddr = 0, \ | 301 | .cp0_baduaddr = 0, \ |
303 | .error_code = 0, \ | 302 | .error_code = 0, \ |
304 | .trap_no = 0, \ | ||
305 | .irix_trampoline = 0, \ | 303 | .irix_trampoline = 0, \ |
306 | .irix_oldctx = 0, \ | 304 | .irix_oldctx = 0, \ |
307 | /* \ | 305 | /* \ |