* [patch] cpuset: remove an unused variable
@ 2012-03-28 10:46 Dan Carpenter
0 siblings, 0 replies; only message in thread
From: Dan Carpenter @ 2012-03-28 10:46 UTC (permalink / raw)
To: Paul Menage, Peter Zijlstra; +Cc: linux-kernel, kernel-janitors, Ingo Molnar
We don't use "cpu" any more after 2baab4e904 "sched: Fix
select_fallback_rq() vs cpu_active/cpu_online".
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
diff --git a/kernel/cpuset.c b/kernel/cpuset.c
index dfceaca..14f7070 100644
--- a/kernel/cpuset.c
+++ b/kernel/cpuset.c
@@ -2165,7 +2165,6 @@ void cpuset_cpus_allowed(struct task_struct *tsk, struct cpumask *pmask)
void cpuset_cpus_allowed_fallback(struct task_struct *tsk)
{
const struct cpuset *cs;
- int cpu;
rcu_read_lock();
cs = task_cs(tsk);
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2012-03-28 10:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-28 10:46 [patch] cpuset: remove an unused variable Dan Carpenter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox