summaryrefslogtreecommitdiff
path: root/include/linux/posix-timers.h
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2016-02-25 15:01:49 +0100
committerIngo Molnar <mingo@kernel.org>2016-02-29 09:53:11 +0100
commit801ccdbf018ca5dbd478756ece55cd6c7726ed5b (patch)
treea6c0fcfae7857957416637e1300ebee17add0511 /include/linux/posix-timers.h
parentf904f58263e1df5f70feb8b283f4bbe662847334 (diff)
sched/deadline: Remove superfluous call to switched_to_dl()
if (A || B) { } else if (A && !B) { } If A we'll take the first branch, if !A we will not satisfy the second. Therefore the second branch will never be taken. Reported-by: luca abeni <luca.abeni@unitn.it> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Acked-by: Juri Lelli <juri.lelli@arm.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Mike Galbraith <efault@gmx.de> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Link: http://lkml.kernel.org/r/20160225140149.GK6357@twins.programming.kicks-ass.net Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include/linux/posix-timers.h')
0 files changed, 0 insertions, 0 deletions