kernel: Remove unused timeout_q from z_kernel
This commit removes the `timeout_q` from the `struct z_kernel` since it
is no longer used.
Note that the new kernel timeout implementation introduced in the
commit 987c0e5fc1
uses `timeout_list`
global variable in place of it.
Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
This commit is contained in:
parent
60fdec616b
commit
a77e7566a8
2 changed files with 0 additions and 17 deletions
|
@ -135,11 +135,6 @@ typedef struct _cpu _cpu_t;
|
|||
struct z_kernel {
|
||||
struct _cpu cpus[CONFIG_MP_NUM_CPUS];
|
||||
|
||||
#ifdef CONFIG_SYS_CLOCK_EXISTS
|
||||
/* queue of timeouts */
|
||||
sys_dlist_t timeout_q;
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_PM
|
||||
int32_t idle; /* Number of ticks for kernel idling */
|
||||
#endif
|
||||
|
@ -189,8 +184,6 @@ bool z_smp_cpu_mobile(void);
|
|||
#define _current _kernel.cpus[0].current
|
||||
#endif
|
||||
|
||||
#define _timeout_q _kernel.timeout_q
|
||||
|
||||
/* kernel wait queue record */
|
||||
|
||||
#ifdef CONFIG_WAITQ_SCALABLE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue