kernel: Use distinct macro names
There is a struct and a macro called _ready_q, this is error prone. Just removing it. MISRA-C rule 5.4 Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
This commit is contained in:
parent
38bd63ef90
commit
a3dddedab6
3 changed files with 2 additions and 3 deletions
|
@ -57,7 +57,7 @@ extern struct k_thread *_get_next_ready_thread(void);
|
|||
#else
|
||||
static ALWAYS_INLINE struct k_thread *_get_next_ready_thread(void)
|
||||
{
|
||||
return _ready_q.cache;
|
||||
return _kernel.ready_q.cache;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue