Prev: [tip:sched/core] sched: Remove the obsolete exit_state/signal hacks
Next: USB: gadget: g_multi: code clean up and refactoring
From: tip-bot for Oleg Nesterov on 18 Jun 2010 06:30 Commit-ID: c32b4fce799d3a6157df9048d03e429956c58818 Gitweb: http://git.kernel.org/tip/c32b4fce799d3a6157df9048d03e429956c58818 Author: Oleg Nesterov <oleg(a)redhat.com> AuthorDate: Fri, 11 Jun 2010 01:09:48 +0200 Committer: Ingo Molnar <mingo(a)elte.hu> CommitDate: Fri, 18 Jun 2010 10:46:56 +0200 sched: task_tick_rt: Remove the obsolete ->signal != NULL check Remove the obsolete ->signal != NULL check in watchdog(). Since ea6d290c ->signal can't be NULL. Signed-off-by: Oleg Nesterov <oleg(a)redhat.com> Signed-off-by: Peter Zijlstra <a.p.zijlstra(a)chello.nl> LKML-Reference: <20100610230948.GA25911(a)redhat.com> Signed-off-by: Ingo Molnar <mingo(a)elte.hu> --- kernel/sched_rt.c | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/kernel/sched_rt.c b/kernel/sched_rt.c index 8afb953..d10c80e 100644 --- a/kernel/sched_rt.c +++ b/kernel/sched_rt.c @@ -1663,9 +1663,6 @@ static void watchdog(struct rq *rq, struct task_struct *p) { unsigned long soft, hard; - if (!p->signal) - return; - /* max may change after cur was read, this will be fixed next tick */ soft = task_rlimit(p, RLIMIT_RTTIME); hard = task_rlimit_max(p, RLIMIT_RTTIME); -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ |