diff options
author | Olaf Hering <olaf@aepfle.de> | 2011-05-20 09:33:53 +0100 |
---|---|---|
committer | Olaf Hering <olaf@aepfle.de> | 2011-05-20 09:33:53 +0100 |
commit | 7ae23d20b714160bd08f1d83d0f4aaf3937a56bb (patch) | |
tree | 09253761a023aeb9ad90ff197bb0587c04946cbe /xen/common/sched_credit2.c | |
parent | b8eb4655dec9e14b9a8ee88dccd697f7c927135f (diff) | |
download | xen-7ae23d20b714160bd08f1d83d0f4aaf3937a56bb.tar.gz xen-7ae23d20b714160bd08f1d83d0f4aaf3937a56bb.tar.bz2 xen-7ae23d20b714160bd08f1d83d0f4aaf3937a56bb.zip |
xen: Remove some initialised but otherwise unused variables.
Fixes the build under gcc-4.6 -Werror=unused-but-set-variable
Signed-off-by: Olaf Hering <olaf@aepfle.de>
Diffstat (limited to 'xen/common/sched_credit2.c')
-rw-r--r-- | xen/common/sched_credit2.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/xen/common/sched_credit2.c b/xen/common/sched_credit2.c index 517ec8c49c..116cd77a14 100644 --- a/xen/common/sched_credit2.c +++ b/xen/common/sched_credit2.c @@ -1880,7 +1880,7 @@ static void deactivate_runqueue(struct csched_private *prv, int rqi) static void init_pcpu(const struct scheduler *ops, int cpu) { - int rqi, old_rqi, flags; + int rqi, flags; struct csched_private *prv = CSCHED_PRIV(ops); struct csched_runqueue_data *rqd; spinlock_t *old_lock; @@ -1894,8 +1894,6 @@ static void init_pcpu(const struct scheduler *ops, int cpu) return; } - old_rqi = prv->runq_map[cpu]; - /* Figure out which runqueue to put it in */ rqi = 0; |