aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-05-26 00:25:15 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2012-10-01 09:58:15 -0400
commitfe9d7feab567085112ca02b238c839ca1b4cd9c5 (patch)
tree227f4514f9a36b68d85b54bca3fc2a95e47aed5a /arch
parentff893577be5f56c97692678a7a3e3397c35e3cec (diff)
unicore32: remove pointless test
we can get into work_pending only if at least one of NEED_RESCHED, SIGPENDING or NOTIFY_RESUME is set. So once we'd found no NEED_RESCHED, there's no need to check that one of the other two is set. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch')
-rw-r--r--arch/unicore32/kernel/entry.S2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/unicore32/kernel/entry.S b/arch/unicore32/kernel/entry.S
index 00a259f9819e..dcb87ab19ddd 100644
--- a/arch/unicore32/kernel/entry.S
+++ b/arch/unicore32/kernel/entry.S
@@ -544,8 +544,6 @@ fast_work_pending:
544work_pending: 544work_pending:
545 cand.a r1, #_TIF_NEED_RESCHED 545 cand.a r1, #_TIF_NEED_RESCHED
546 bne work_resched 546 bne work_resched
547 cand.a r1, #_TIF_SIGPENDING|_TIF_NOTIFY_RESUME
548 beq no_work_pending
549 mov r0, sp @ 'regs' 547 mov r0, sp @ 'regs'
550 mov r2, why @ 'syscall' 548 mov r2, why @ 'syscall'
551 cand.a r1, #_TIF_SIGPENDING @ delivering a signal? 549 cand.a r1, #_TIF_SIGPENDING @ delivering a signal?