sched/deadline: Avoid a superfluous check
authorWanpeng Li <wanpeng.li@linux.intel.com>
Tue, 17 Mar 2015 11:15:30 +0000 (19:15 +0800)
committerIngo Molnar <mingo@kernel.org>
Fri, 27 Mar 2015 08:36:12 +0000 (09:36 +0100)
commitbd4bde14b93cce8fa77765ff709e0be55abdba2c
treeaec69388085407ee49200e720d6359d0b7945461
parentd4573c3e1c992668f5dcd57d1c2ced56ae9650b9
sched/deadline: Avoid a superfluous check

Since commit 40767b0dc768 ("sched/deadline: Fix deadline parameter
modification handling") we clear the thottled state when switching
from a dl task, therefore we should never find it set in switching to
a dl task.

Signed-off-by: Wanpeng Li <wanpeng.li@linux.intel.com>
[ Improved the changelog. ]
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Juri Lelli <juri.lelli@arm.com>
Link: http://lkml.kernel.org/r/1426590931-4639-1-git-send-email-wanpeng.li@linux.intel.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/deadline.c