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:
Flavio Ceolin 2018-10-24 12:47:18 -07:00 committed by Anas Nashif
commit a3dddedab6
3 changed files with 2 additions and 3 deletions

View file

@ -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