Commit c32b4fce799d3a6157df9048d03e429956c58818
Committed by
Ingo Molnar
1 parent
a44702e885
Exists in
master
and in
4 other branches
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@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>
Showing 1 changed file with 0 additions and 3 deletions Side-by-side Diff
kernel/sched_rt.c
... | ... | @@ -1663,9 +1663,6 @@ |
1663 | 1663 | { |
1664 | 1664 | unsigned long soft, hard; |
1665 | 1665 | |
1666 | - if (!p->signal) | |
1667 | - return; | |
1668 | - | |
1669 | 1666 | /* max may change after cur was read, this will be fixed next tick */ |
1670 | 1667 | soft = task_rlimit(p, RLIMIT_RTTIME); |
1671 | 1668 | hard = task_rlimit_max(p, RLIMIT_RTTIME); |