projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b028ab
)
cpusets: Remove an unused variable
author
Dan Carpenter
<dan.carpenter@oracle.com>
Wed, 28 Mar 2012 10:46:09 +0000
(13:46 +0300)
committer
Ingo Molnar
<mingo@kernel.org>
Wed, 28 Mar 2012 11:40:44 +0000
(13:40 +0200)
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>
kernel/cpuset.c
patch
|
blob
|
blame
|
history
diff --git
a/kernel/cpuset.c
b/kernel/cpuset.c
index c9837b74ab96a597264804dd4efaac6caf960507..4ef4d7ecb9fb9ac67643256d4d048cfe45b32024 100644
(file)
--- 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);