diff options
| author | chen zx <[email protected]> | 2021-08-16 16:29:25 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-08-16 16:29:25 +0800 |
| commit | ac824e0ef3d716aec68070b5cceb8fd4ba4eb641 (patch) | |
| tree | 1711cd852680129d0160daba1d6074b37883c135 /components/drivers/include | |
| parent | 360223a693958584c6befe8c8788c3e529928377 (diff) | |
| parent | 33a50d0eb0c3fdaff3b64db472de784a7c2b3a9d (diff) | |
Merge branch 'RT-Thread:master' into master
Diffstat (limited to 'components/drivers/include')
| -rw-r--r-- | components/drivers/include/ipc/workqueue.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/components/drivers/include/ipc/workqueue.h b/components/drivers/include/ipc/workqueue.h index a156145641..03904d852e 100644 --- a/components/drivers/include/ipc/workqueue.h +++ b/components/drivers/include/ipc/workqueue.h @@ -5,6 +5,7 @@ * * Change Logs: * Date Author Notes + * 2021-08-01 Meco Man remove rt_delayed_work_init() and rt_delayed_work structure */ #ifndef WORKQUEUE_H__ #define WORKQUEUE_H__ @@ -48,11 +49,6 @@ struct rt_work struct rt_workqueue *workqueue; }; -struct rt_delayed_work -{ - struct rt_work work; -}; - #ifdef RT_USING_HEAP /** * WorkQueue for DeviceDriver @@ -82,9 +78,6 @@ rt_inline void rt_work_init(struct rt_work *work, void (*work_func)(struct rt_wo work->type = 0; } -void rt_delayed_work_init(struct rt_delayed_work *work, void (*work_func)(struct rt_work *work, - void *work_data), void *work_data); - #endif /* RT_USING_HEAP */ #endif |
