diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-05-26 06:25:15 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-10-01 15:58:15 +0200 |
commit | fe9d7feab567085112ca02b238c839ca1b4cd9c5 (patch) | |
tree | 227f4514f9a36b68d85b54bca3fc2a95e47aed5a /arch/unicore32 | |
parent | h8300: trim _TIF_WORK_MASK (diff) | |
download | linux-fe9d7feab567085112ca02b238c839ca1b4cd9c5.tar.xz linux-fe9d7feab567085112ca02b238c839ca1b4cd9c5.zip |
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: 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? |