Explorar el Código

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

Liu,Yuan hace 2 años
padre
commit
1d8165851b
Se han modificado 1 ficheros con 0 adiciones y 1 borrados
  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)
     {