Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

MIPS: Remove dead define of ST_OFF

Commit 1a3d59579b9f ("MIPS: Tidy up FPU context switching") removed the
last usage of the macro ST_OFF. Remove the dead code.

Signed-off-by: Matt Redfearn <matt.redfearn@imgtec.com>
Cc: James Hogan <james.hogan@imgtec.com>
Cc: Paul Burton <paul.burton@imgtec.com>
Cc: trivial@kernel.org
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/15898/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

authored by

Matt Redfearn and committed by
Ralf Baechle
828d1e4e 1f83f5e4

-6
-6
arch/mips/kernel/r4k_switch.S
··· 25 25 /* preprocessor replaces the fp in ".set fp=64" with $30 otherwise */ 26 26 #undef fp 27 27 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 - 34 28 #ifndef USE_ALTERNATE_RESUME_IMPL 35 29 /* 36 30 * task_struct *resume(task_struct *prev, task_struct *next,