diff options
author | Richard Braun <rbraun@sceen.net> | 2013-03-15 00:02:56 +0100 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2013-03-15 00:02:56 +0100 |
commit | aff0c0bde7df889cdab2cf365e213957d849ba54 (patch) | |
tree | 02de00b0c098b61986406530ac589b1484416650 /kern/thread.c | |
parent | a1e1164f13bebb974c84060f02c6f7e327a2b27c (diff) |
kern/thread: remove the unused cpu thread member
Diffstat (limited to 'kern/thread.c')
-rw-r--r-- | kern/thread.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/kern/thread.c b/kern/thread.c index 00c3dc64..a313aa48 100644 --- a/kern/thread.c +++ b/kern/thread.c @@ -1241,8 +1241,6 @@ thread_init_sched(struct thread *thread, unsigned short priority) /* * This function initializes most thread members. - * - * It leaves the cpu member uninitialized. */ static void thread_init(struct thread *thread, void *stack, const struct thread_attr *attr, @@ -1398,7 +1396,6 @@ thread_setup_idler(struct thread_runq *runq) thread_init(idler, stack, &attr, thread_idler, NULL); idler->state = THREAD_RUNNING; - idler->cpu = thread_runq_id(runq); /* * The initial preemption counter should never be less than 2, otherwise |