提交 a8a7d608 编写于 作者: B bernard

[DeviceDrivers] Remove compiling warning in workqueue.

上级 f7eaa08d
...@@ -219,8 +219,6 @@ rt_err_t rt_workqueue_cancel_work_sync(struct rt_workqueue* queue, struct rt_wor ...@@ -219,8 +219,6 @@ rt_err_t rt_workqueue_cancel_work_sync(struct rt_workqueue* queue, struct rt_wor
level = rt_hw_interrupt_disable(); level = rt_hw_interrupt_disable();
if (queue->work_current == work) /* it's current work in the queue */ if (queue->work_current == work) /* it's current work in the queue */
{ {
rt_uint32_t recv;
/* wait for work completion */ /* wait for work completion */
rt_sem_take(&(queue->sem), RT_WAITING_FOREVER); rt_sem_take(&(queue->sem), RT_WAITING_FOREVER);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册