[PATCH 0/1] sched/rt: code cleanup, remove a redundant function call

From: Shan Hai
Date: Mon Nov 28 2011 - 22:04:25 EST



Calls the sched_rt_runtime twice in the sched_rt_runtime_exceeded, and the
second time call is not necessary, because the value of the rt_runtime was
alreay read and rt_runtimer itself was protected by the rt_runtime_lock.

---
kernel/sched_rt.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

--
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/