[PATCH] sched: remove noop in lowest_flag_domain()
From: Hillf Danton
Date: Wed May 25 2011 - 08:43:10 EST
Checking for the validity of sd is removed, since it is already
checked by the for_each_domain macro.
Signed-off-by: Hillf Danton <dhillf@xxxxxxxxx>
---
--- tip-git/kernel/sched_fair.c Sat May 14 15:21:56 2011
+++ sched_fair.c Wed May 25 20:15:34 2011
@@ -3652,7 +3652,7 @@ static inline struct sched_domain *lowes
struct sched_domain *sd;
for_each_domain(cpu, sd)
- if (sd && (sd->flags & flag))
+ if (sd->flags & flag)
break;
return sd;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/