Skip to content

Commit df4c87f

Browse files
paulburtonralfbaechle
authored andcommitted
MIPS: Remove unused ST_OFF from r2300_switch.S
Commit 1a3d595 ("MIPS: Tidy up FPU context switching") removed usage of ST_OFF, leaving it behind as dead code. Commit 828d1e4 ("MIPS: Remove dead define of ST_OFF") then removed the definition of ST_OFF from r4k_switch.S as a cleanup. However the unused definition of ST_OFF has been left behind in r2300_switch.S. Remove it. Signed-off-by: Paul Burton <paul.burton@imgtec.com> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/16239/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
1 parent 423fb0d commit df4c87f

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

arch/mips/kernel/r2300_switch.S

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,6 @@
2525
.set mips1
2626
.align 5
2727

28-
/*
29-
* Offset to the current process status flags, the first 32 bytes of the
30-
* stack are not used.
31-
*/
32-
#define ST_OFF (_THREAD_SIZE - 32 - PT_SIZE + PT_STATUS)
33-
3428
/*
3529
* task_struct *resume(task_struct *prev, task_struct *next,
3630
* struct thread_info *next_ti)

0 commit comments

Comments
 (0)