]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
sched: task_tick_rt: Remove the obsolete ->signal != NULL check
authorOleg Nesterov <oleg@redhat.com>
Thu, 10 Jun 2010 23:09:48 +0000 (01:09 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 18 Jun 2010 08:46:56 +0000 (10:46 +0200)
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>
kernel/sched_rt.c

index 8afb953e31c6c1ba9a263a78929a04a0d82ff2c7..d10c80ebb67a2821038a9c59b912bf8e323d67e3 100644 (file)
@@ -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);