From: Dan Carpenter Date: Wed, 28 Mar 2012 10:46:09 +0000 (+0300) Subject: cpusets: Remove an unused variable X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=160594e99dbbb0a5600ad922c630952c7c1c14bf;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 Cc: Paul Menage Cc: Peter Zijlstra Link: http://lkml.kernel.org/r/20120328104608.GD29022@elgon.mountain Signed-off-by: Ingo Molnar --- 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);