sim: remove unused variable in sim_saveusercontext()
Signed-off-by: ligd <liguiding1@xiaomi.com>
This commit is contained in:
parent
1544adb548
commit
18beaaa480
@ -89,13 +89,11 @@
|
||||
({ \
|
||||
irqstate_t flags = up_irq_flags(); \
|
||||
uint32_t *env = (uint32_t *)saveregs + JB_FLAG; \
|
||||
int ret; \
|
||||
\
|
||||
env[0] = flags & UINT32_MAX; \
|
||||
env[1] = (flags >> 32) & UINT32_MAX; \
|
||||
\
|
||||
ret = setjmp(saveregs); \
|
||||
ret; \
|
||||
setjmp(saveregs); \
|
||||
})
|
||||
#define sim_fullcontextrestore(restoreregs) \
|
||||
do \
|
||||
|
Loading…
Reference in New Issue
Block a user