projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
885e542
)
sched/core: Remove unused variable
author
Muhammad Falak R Wani
<falakreyaz@gmail.com>
Thu, 5 May 2016 09:51:19 +0000
(15:21 +0530)
committer
Ingo Molnar
<mingo@kernel.org>
Mon, 9 May 2016 06:39:52 +0000
(08:39 +0200)
Remove unused variable 'ret', and directly return 0.
Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link:
http://lkml.kernel.org/r/1462441879-10092-1-git-send-email-falakreyaz@gmail.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/core.c
patch
|
blob
|
blame
|
history
diff --git
a/kernel/sched/core.c
b/kernel/sched/core.c
index 71c5a753e6e9bfc692b9b42e8453711e34564071..a6d3e7a9c0a9655264a983c522a5650c6e7c4863 100644
(file)
--- a/
kernel/sched/core.c
+++ b/
kernel/sched/core.c
@@
-8019,7
+8019,7
@@
static int sched_rt_can_attach(struct task_group *tg, struct task_struct *tsk)
static int sched_rt_global_constraints(void)
{
unsigned long flags;
- int i
, ret = 0
;
+ int i;
raw_spin_lock_irqsave(&def_rt_bandwidth.rt_runtime_lock, flags);
for_each_possible_cpu(i) {
@@
-8031,7
+8031,7
@@
static int sched_rt_global_constraints(void)
}
raw_spin_unlock_irqrestore(&def_rt_bandwidth.rt_runtime_lock, flags);
- return
ret
;
+ return
0
;
}
#endif /* CONFIG_RT_GROUP_SCHED */