mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-04-24 14:07:52 -04:00
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>
This commit is contained in:
parent
9bb4d9dfd8
commit
7281cd2297
3 changed files with 1 additions and 4 deletions
|
@ -229,7 +229,6 @@ struct thread_struct {
|
|||
unsigned long cp0_badvaddr; /* Last user fault */
|
||||
unsigned long cp0_baduaddr; /* Last kernel fault accessing USEG */
|
||||
unsigned long error_code;
|
||||
unsigned long trap_no;
|
||||
unsigned long irix_trampoline; /* Wheee... */
|
||||
unsigned long irix_oldctx;
|
||||
#ifdef CONFIG_CPU_CAVIUM_OCTEON
|
||||
|
@ -301,7 +300,6 @@ struct thread_struct {
|
|||
.cp0_badvaddr = 0, \
|
||||
.cp0_baduaddr = 0, \
|
||||
.error_code = 0, \
|
||||
.trap_no = 0, \
|
||||
.irix_trampoline = 0, \
|
||||
.irix_oldctx = 0, \
|
||||
/* \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue