diff options
| author | William Lee Irwin III <wli@holomorphy.com> | 2002-06-02 22:33:58 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@penguin.transmeta.com> | 2002-06-02 22:33:58 -0700 |
| commit | 2b227acb3a573d41becca26f84168adf9becd77d (patch) | |
| tree | 880eb78dcb902dafe85a74668354724b284c185f /kernel | |
| parent | 5e04fa0a042f72d2b54731483d674914a40a1a1d (diff) | |
[PATCH] duplicate decl in sched_init()
I found this one while trying to straighten out bootstrap ordering
issues elsewhere.
There appears to be a duplicate declaration of rq in sched_init().
This removes the nested declaration and otherwise leaves things alone.
Diffstat (limited to 'kernel')
| -rw-r--r-- | kernel/sched.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched.c b/kernel/sched.c index 0512527e20d9..b3a7de657072 100644 --- a/kernel/sched.c +++ b/kernel/sched.c @@ -1592,9 +1592,9 @@ void __init sched_init(void) int i, j, k; for (i = 0; i < NR_CPUS; i++) { - runqueue_t *rq = cpu_rq(i); prio_array_t *array; + rq = cpu_rq(i); rq->active = rq->arrays; rq->expired = rq->arrays + 1; spin_lock_init(&rq->lock); |
