Skip to content

Commit

Permalink
um: Removed unused attributes from thread_struct
Browse files Browse the repository at this point in the history
temp_stack and mm_count have no users and can be killed.

Signed-off-by: Richard Weinberger <[email protected]>
  • Loading branch information
richardweinberger committed Jan 26, 2014
1 parent d8ec26d commit 61aad98
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions arch/um/include/asm/processor-generic.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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 } \
}
Expand Down

0 comments on commit 61aad98

Please sign in to comment.