Fix some conditional logic in last work queue repartitioning change
This commit is contained in:
parent
1afc9773ac
commit
2015fd76e2
@ -80,7 +80,7 @@
|
||||
* by calling work_queue() again.
|
||||
*
|
||||
* Input parameters:
|
||||
* qid - The work queue ID (must be USRWORK)
|
||||
* qid - The work queue ID (must be HPWORK or LPWORK)
|
||||
* work - The previously queue work structure to cancel
|
||||
*
|
||||
* Returned Value:
|
||||
|
@ -101,8 +101,6 @@
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#if defined(CONFIG_SCHED_USRWORK) && !defined(__KERNEL__)
|
||||
|
||||
int work_queue(int qid, FAR struct work_s *work, worker_t worker,
|
||||
FAR void *arg, uint32_t delay)
|
||||
{
|
||||
@ -129,5 +127,4 @@ int work_queue(int qid, FAR struct work_s *work, worker_t worker,
|
||||
}
|
||||
}
|
||||
|
||||
#endif /* CONFIG_SCHED_USRWORK && !__KERNEL__ */
|
||||
#endif /* CONFIG_SCHED_WORKQUEUE */
|
||||
|
Loading…
Reference in New Issue
Block a user