소스 검색

[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)
     {