arch: riscv: Fix bogus condition
Remove double preprocessor condition. Signed-off-by: Marek Matej <marek.matej@espressif.com>
This commit is contained in:
parent
5925a4670b
commit
92b7d37397
1 changed files with 0 additions and 2 deletions
|
|
@ -569,9 +569,7 @@ check_reschedule:
|
|||
addi sp, sp, -16
|
||||
sr a1, 0(sp)
|
||||
mv a0, zero
|
||||
#ifdef CONFIG_MULTITHREADING
|
||||
call z_get_next_switch_handle
|
||||
#endif
|
||||
lr a1, 0(sp)
|
||||
addi sp, sp, 16
|
||||
beqz a0, no_reschedule
|
||||
|
|
|
|||
Loading…
Reference in a new issue