diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-05-26 00:25:15 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-10-01 09:58:15 -0400 |
commit | fe9d7feab567085112ca02b238c839ca1b4cd9c5 (patch) | |
tree | 227f4514f9a36b68d85b54bca3fc2a95e47aed5a /arch/unicore32 | |
parent | ff893577be5f56c97692678a7a3e3397c35e3cec (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/unicore32')
-rw-r--r-- | arch/unicore32/kernel/entry.S | 2 |
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: | |||
544 | work_pending: | 544 | work_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? |