projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67d9553
)
sched: Remove noop in lowest_flag_domain()
author
Hillf Danton
<
[email protected]
>
Fri, 17 Jun 2011 01:55:19 +0000
(21:55 -0400)
committer
Ingo Molnar
<
[email protected]
>
Sun, 14 Aug 2011 10:00:46 +0000
(12:00 +0200)
Checking for the validity of sd is removed, since it is already
checked by the for_each_domain macro.
Signed-off-by: Hillf Danton <
[email protected]
>
Signed-off-by: Steven Rostedt <
[email protected]
>
Signed-off-by: Peter Zijlstra <
[email protected]
>
Link:
http://lkml.kernel.org/r/
[email protected]
Signed-off-by: Ingo Molnar <
[email protected]
>
kernel/sched_fair.c
patch
|
blob
|
history
diff --git
a/kernel/sched_fair.c
b/kernel/sched_fair.c
index 241fc86bc61340b6a1e0f9a1d5e36f19f0798928..f4b732a3552b2a4356c6be1fa24f233f20a7a778 100644
(file)
--- a/
kernel/sched_fair.c
+++ b/
kernel/sched_fair.c
@@
-3660,7
+3660,7
@@
static inline struct sched_domain *lowest_flag_domain(int cpu, int flag)
struct sched_domain *sd;
for_each_domain(cpu, sd)
- if (sd
&& (sd->flags & flag)
)
+ if (sd
->flags & flag
)
break;
return sd;