workqueues: remove object init calls
k_work and k_work_q are not kernel objects, nor will they be. k_work_q contains some kernel objects which are tracked independently. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
parent
bec74121f6
commit
8acf899a0d
2 changed files with 0 additions and 4 deletions
|
@ -2527,7 +2527,6 @@ extern struct k_work_q k_sys_work_q;
|
|||
static inline void k_work_init(struct k_work *work, k_work_handler_t handler)
|
||||
{
|
||||
*work = (struct k_work)_K_WORK_INITIALIZER(handler);
|
||||
_k_object_init(work);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue