diff options
| author | Liu,Yuan <[email protected]> | 2023-06-08 05:04:12 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-06-07 17:04:12 -0400 |
| commit | 1d8165851b7fef9a4ec4903154b5b7234fe141b5 (patch) | |
| tree | 021463751abf20edb1629402f6d627afd1d19df1 /libcpu | |
| parent | 22972409d4efd9ea2d8248024a88307615a0ca6c (diff) | |
[risc-v][libcpu] 删去无用局部变量 (#7634)
Diffstat (limited to 'libcpu')
| -rw-r--r-- | libcpu/risc-v/common/trap_common.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libcpu/risc-v/common/trap_common.c b/libcpu/risc-v/common/trap_common.c index e7d0043a11..6f7352cd56 100644 --- a/libcpu/risc-v/common/trap_common.c +++ b/libcpu/risc-v/common/trap_common.c @@ -48,7 +48,6 @@ rt_weak rt_isr_handler_t rt_hw_interrupt_install(int vector, rt_isr_handler_t ha { rt_isr_handler_t old_handler = RT_NULL; void *user_param = param; - char *user_name = name; if(vector < ISR_NUMBER) { |
