mirror of
https://github.com/apache/nuttx.git
synced 2026-08-30 05:40:37 +00:00
riscv/riscv_schedulesigaction.c: Remove the duplicate state saving.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
This commit is contained in:
parent
2094f4f0dc
commit
7660b3b1c4
1 changed files with 0 additions and 2 deletions
|
|
@ -126,8 +126,6 @@ void up_schedule_sigaction(struct tcb_s *tcb, sig_deliver_t sigdeliver)
|
|||
* been delivered.
|
||||
*/
|
||||
|
||||
tcb->xcp.saved_regs = (uintptr_t *)CURRENT_REGS;
|
||||
|
||||
riscv_savestate(tcb->xcp.saved_regs);
|
||||
|
||||
/* Duplicate the register context. These will be
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue