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:
Andrew Boie 2018-11-12 15:13:08 -08:00 committed by Anas Nashif
commit 8acf899a0d
2 changed files with 0 additions and 4 deletions

View file

@ -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);
}
/**