Browse Source

[risc-v][libcpu] 删去无用局部变量 (#7634)

Liu,Yuan 1 year ago
parent
commit
1d8165851b
1 changed files with 0 additions and 1 deletions
  1. 0 1
      libcpu/risc-v/common/trap_common.c

+ 0 - 1
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)
     {