Skip to content

Commit c32b4fc

Browse files
oleg-nesterovIngo Molnar
authored andcommitted
sched: task_tick_rt: Remove the obsolete ->signal != NULL check
Remove the obsolete ->signal != NULL check in watchdog(). Since ea6d290 ->signal can't be NULL. Signed-off-by: Oleg Nesterov <oleg@redhat.com> Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> LKML-Reference: <20100610230948.GA25911@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
1 parent a44702e commit c32b4fc

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

kernel/sched_rt.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1663,9 +1663,6 @@ static void watchdog(struct rq *rq, struct task_struct *p)
16631663
{
16641664
unsigned long soft, hard;
16651665

1666-
if (!p->signal)
1667-
return;
1668-
16691666
/* max may change after cur was read, this will be fixed next tick */
16701667
soft = task_rlimit(p, RLIMIT_RTTIME);
16711668
hard = task_rlimit_max(p, RLIMIT_RTTIME);

0 commit comments

Comments
 (0)