summaryrefslogtreecommitdiffstats
path: root/kernel/cpuset.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2012-03-28 12:46:09 +0200
committerIngo Molnar <mingo@kernel.org>2012-03-28 13:40:44 +0200
commit160594e99dbbb0a5600ad922c630952c7c1c14bf (patch)
tree4a3e71c4a8df45cb4399c412a63cb292ee7c45e5 /kernel/cpuset.c
parentsched/rt: Improve pick_next_highest_task_rt() (diff)
downloadlinux-160594e99dbbb0a5600ad922c630952c7c1c14bf.tar.xz
linux-160594e99dbbb0a5600ad922c630952c7c1c14bf.zip
cpusets: Remove an unused variable
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> Cc: Paul Menage <paul@paulmenage.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Link: http://lkml.kernel.org/r/20120328104608.GD29022@elgon.mountain Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/cpuset.c')
-rw-r--r--kernel/cpuset.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/cpuset.c b/kernel/cpuset.c
index c9837b74ab96..4ef4d7ecb9fb 100644
--- a/kernel/cpuset.c
+++ b/kernel/cpuset.c
@@ -2198,7 +2198,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);