From: Anton Blanchard Remove unused this_rq --- 25-akpm/kernel/sched.c | 2 -- include/linux/sched.h | 0 2 files changed, 2 deletions(-) diff -puN include/linux/sched.h~sched-remove-unused-local include/linux/sched.h diff -puN kernel/sched.c~sched-remove-unused-local kernel/sched.c --- 25/kernel/sched.c~sched-remove-unused-local Thu Mar 11 14:28:09 2004 +++ 25-akpm/kernel/sched.c Thu Mar 11 14:28:09 2004 @@ -712,7 +712,6 @@ static int try_to_wake_up(task_t * p, un unsigned long load, this_load; int new_cpu; struct sched_domain *sd; - runqueue_t *this_rq; #endif rq = task_rq_lock(p, &flags); @@ -743,7 +742,6 @@ static int try_to_wake_up(task_t * p, un goto repeat_lock_task; } - this_rq = this_rq(); now = sched_clock(); sd = cpu_sched_domain(this_cpu); _