From: Richard Weinberger Date: Fri, 13 Sep 2013 17:25:11 +0000 (+0200) Subject: um: Removed unused attributes from thread_struct X-Git-Tag: upstream/snapshot3+hdmi~3565^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=61aad98a7f0c48ac4cece3de3d403d521721afe8;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git um: Removed unused attributes from thread_struct temp_stack and mm_count have no users and can be killed. Signed-off-by: Richard Weinberger --- diff --git a/arch/um/include/asm/processor-generic.h b/arch/um/include/asm/processor-generic.h index d89b02b..cbc5edd 100644 --- a/arch/um/include/asm/processor-generic.h +++ b/arch/um/include/asm/processor-generic.h @@ -25,10 +25,8 @@ struct thread_struct { void *fault_addr; jmp_buf *fault_catcher; struct task_struct *prev_sched; - unsigned long temp_stack; struct arch_thread arch; jmp_buf switch_buf; - int mm_count; struct { int op; union { @@ -52,7 +50,6 @@ struct thread_struct { .regs = EMPTY_REGS, \ .fault_addr = NULL, \ .prev_sched = NULL, \ - .temp_stack = 0, \ .arch = INIT_ARCH_THREAD, \ .request = { 0 } \ }