瀏覽代碼

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

Liu,Yuan 2 年之前
父節點
當前提交
1d8165851b
共有 1 個文件被更改,包括 0 次插入1 次删除
  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)
     {