[PATCH 2/5] sched: task_tick_rt: remove the obsolete ->signal !=NULL check
From: Oleg Nesterov
Date: Thu Jun 10 2010 - 19:11:35 EST
Remove the obsolete ->signal != NULL check in watchdog().
Since ea6d290c ->signal can't be NULL.
Signed-off-by: Oleg Nesterov <oleg@xxxxxxxxxx>
---
kernel/sched_rt.c | 3 ---
1 file changed, 3 deletions(-)
--- 35-rc2/kernel/sched_rt.c~2_WD_DONT_CK_SIGNAL 2010-06-11 00:47:34.000000000 +0200
+++ 35-rc2/kernel/sched_rt.c 2010-06-11 01:07:25.000000000 +0200
@@ -1663,9 +1663,6 @@ static void watchdog(struct rq *rq, stru
{
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/