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>
This commit is contained in:
Al Viro 2012-05-26 00:25:15 -04:00
parent ff893577be
commit fe9d7feab5
1 changed files with 0 additions and 2 deletions

View File

@ -544,8 +544,6 @@ fast_work_pending:
work_pending: work_pending:
cand.a r1, #_TIF_NEED_RESCHED cand.a r1, #_TIF_NEED_RESCHED
bne work_resched bne work_resched
cand.a r1, #_TIF_SIGPENDING|_TIF_NOTIFY_RESUME
beq no_work_pending
mov r0, sp @ 'regs' mov r0, sp @ 'regs'
mov r2, why @ 'syscall' mov r2, why @ 'syscall'
cand.a r1, #_TIF_SIGPENDING @ delivering a signal? cand.a r1, #_TIF_SIGPENDING @ delivering a signal?