diff --git a/arch/sh/kernel/process_64.c b/arch/sh/kernel/process_64.c index bfd3855fe120bb..9d3e9916555ded 100644 --- a/arch/sh/kernel/process_64.c +++ b/arch/sh/kernel/process_64.c @@ -307,9 +307,8 @@ void exit_thread(struct task_struct *tsk) * which it would get safely nulled. */ #ifdef CONFIG_SH_FPU - if (last_task_used_math == tsk) { + if (last_task_used_math == tsk) last_task_used_math = NULL; - } #endif }