kernel/timeout: Remove timeout wait_q field

Per previous patch, this is known to be identical with
thread->pended_on.

Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
This commit is contained in:
Andy Ross 2018-09-26 13:36:02 -07:00 committed by Anas Nashif
commit d61b1f8ef8
3 changed files with 3 additions and 14 deletions

View file

@ -1331,7 +1331,6 @@ struct k_timer {
#define _K_TIMER_INITIALIZER(obj, expiry, stop) \
{ \
.timeout.delta_ticks_from_prev = _INACTIVE, \
.timeout.wait_q = NULL, \
.timeout.thread = NULL, \
.timeout.func = _timer_expiration_handler, \
.wait_q = _WAIT_Q_INIT(&obj.wait_q), \