summaryrefslogtreecommitdiffstats
path: root/kernel/cpuset.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2012-03-28 13:46:09 +0300
committerIngo Molnar <mingo@kernel.org>2012-03-28 13:40:44 +0200
commit160594e99dbbb0a5600ad922c630952c7c1c14bf (patch)
tree4a3e71c4a8df45cb4399c412a63cb292ee7c45e5 /kernel/cpuset.c
parent1b028abc779b67b699daff55e27d2432f8d92666 (diff)
downloadop-kernel-dev-160594e99dbbb0a5600ad922c630952c7c1c14bf.zip
op-kernel-dev-160594e99dbbb0a5600ad922c630952c7c1c14bf.tar.gz
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 c9837b7..4ef4d7e 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);
OpenPOWER on IntegriCloud