aboutsummaryrefslogtreecommitdiffstats
path: root/arch/unicore32/kernel
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/unicore32/kernel
parentff893577be5f56c97692678a7a3e3397c35e3cec (diff)
downloadkernel_goldelico_gta04-fe9d7feab567085112ca02b238c839ca1b4cd9c5.zip
kernel_goldelico_gta04-fe9d7feab567085112ca02b238c839ca1b4cd9c5.tar.gz
kernel_goldelico_gta04-fe9d7feab567085112ca02b238c839ca1b4cd9c5.tar.bz2
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/kernel')
-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 00a259f..dcb87ab 100644
--- a/arch/unicore32/kernel/entry.S
+++ b/arch/unicore32/kernel/entry.S
@@ -544,8 +544,6 @@ fast_work_pending:
work_pending:
cand.a r1, #_TIF_NEED_RESCHED
bne work_resched
- cand.a r1, #_TIF_SIGPENDING|_TIF_NOTIFY_RESUME
- beq no_work_pending
mov r0, sp @ 'regs'
mov r2, why @ 'syscall'
cand.a r1, #_TIF_SIGPENDING @ delivering a signal?