diff options
author | Peter Zijlstra <peterz@infradead.org> | 2021-06-11 10:28:16 +0200 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2021-06-18 11:43:09 +0200 |
commit | 7c3edd6d9cb4d8ea8db5b167dc2eee94d7e4667b (patch) | |
tree | ad5b4a7a5c4cd416853ebb280dc739ed34ab7308 /arch/mips/kernel/asm-offsets.c | |
parent | sched,timer: Use __set_current_state() (diff) | |
download | linux-7c3edd6d9cb4d8ea8db5b167dc2eee94d7e4667b.tar.xz linux-7c3edd6d9cb4d8ea8db5b167dc2eee94d7e4667b.zip |
sched,arch: Remove unused TASK_STATE offsets
All 6 architectures define TASK_STATE in asm-offsets, but then never
actually use it. Remove the definitions to make sure they never will.
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20210611082838.472811363@infradead.org
Diffstat (limited to 'arch/mips/kernel/asm-offsets.c')
-rw-r--r-- | arch/mips/kernel/asm-offsets.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/mips/kernel/asm-offsets.c b/arch/mips/kernel/asm-offsets.c index 5735b2cd6f2a..04ca75278f02 100644 --- a/arch/mips/kernel/asm-offsets.c +++ b/arch/mips/kernel/asm-offsets.c @@ -78,7 +78,6 @@ void output_ptreg_defines(void) void output_task_defines(void) { COMMENT("MIPS task_struct offsets."); - OFFSET(TASK_STATE, task_struct, state); OFFSET(TASK_THREAD_INFO, task_struct, stack); OFFSET(TASK_FLAGS, task_struct, flags); OFFSET(TASK_MM, task_struct, mm); |