Skip to content

Commit 73ea6da

Browse files
yuqingli05Rbb666
authored andcommitted
删除 RT_EBUSY 返回值注释
1 parent 2a4e9e9 commit 73ea6da

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

components/drivers/ipc/workqueue.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,6 @@ rt_err_t rt_workqueue_destroy(struct rt_workqueue *queue)
269269
* @param work is a pointer to the work item object.
270270
*
271271
* @return RT_EOK Success.
272-
* -RT_EBUSY This work item is executing.
273272
*/
274273
rt_err_t rt_workqueue_dowork(struct rt_workqueue *queue, struct rt_work *work)
275274
{
@@ -291,7 +290,6 @@ rt_err_t rt_workqueue_dowork(struct rt_workqueue *queue, struct rt_work *work)
291290
* NOTE: The max timeout tick should be no more than (RT_TICK_MAX/2 - 1)
292291
*
293292
* @return RT_EOK Success.
294-
* -RT_EBUSY This work item is executing.
295293
* -RT_ERROR The ticks parameter is invalid.
296294
*/
297295
rt_err_t rt_workqueue_submit_work(struct rt_workqueue *queue, struct rt_work *work, rt_tick_t ticks)
@@ -421,7 +419,6 @@ static struct rt_workqueue *sys_workq; /* system work queue */
421419
* NOTE: The max timeout tick should be no more than (RT_TICK_MAX/2 - 1)
422420
*
423421
* @return RT_EOK Success.
424-
* -RT_EBUSY This work item is executing.
425422
* -RT_ERROR The ticks parameter is invalid.
426423
*/
427424
rt_err_t rt_work_submit(struct rt_work *work, rt_tick_t ticks)

0 commit comments

Comments
 (0)