소스 검색

[DeviceDrivers] Remove compiling warning in workqueue.

bernard 7 년 전
부모
커밋
a8a7d60877
1개의 변경된 파일0개의 추가작업 그리고 2개의 파일을 삭제
  1. 0 2
      components/drivers/src/workqueue.c

+ 0 - 2
components/drivers/src/workqueue.c

@@ -219,8 +219,6 @@ rt_err_t rt_workqueue_cancel_work_sync(struct rt_workqueue* queue, struct rt_wor
     level = rt_hw_interrupt_disable();
     if (queue->work_current == work) /* it's current work in the queue */
     {
-        rt_uint32_t recv;
-        
         /* wait for work completion */
         rt_sem_take(&(queue->sem), RT_WAITING_FOREVER);
     }