summaryrefslogtreecommitdiff
path: root/components/drivers/src
diff options
context:
space:
mode:
authorbernard <[email protected]>2017-10-18 09:29:30 +0800
committerbernard <[email protected]>2017-10-18 09:29:30 +0800
commita8a7d60877876bae10c9ae1c1d29bf485af014f6 (patch)
tree2885aa4bfb1bbc233c16accd27750a6da3dc0306 /components/drivers/src
parentf7eaa08d0d04c19a4a609dec9a35927a2cff3aef (diff)
[DeviceDrivers] Remove compiling warning in workqueue.
Diffstat (limited to 'components/drivers/src')
-rw-r--r--components/drivers/src/workqueue.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/components/drivers/src/workqueue.c b/components/drivers/src/workqueue.c
index b83b76a88b..35aaafe133 100644
--- a/components/drivers/src/workqueue.c
+++ b/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);
}