kernel: sched: Fix compiler warning
Ignore return value of _Swap() as it is not used anywhere. Signed-off-by: Spoorthi K <spoorthi.k@intel.com>
This commit is contained in:
parent
48c83fb286
commit
b6cd192fa5
1 changed files with 2 additions and 1 deletions
|
@ -445,7 +445,8 @@ void _reschedule(u32_t key)
|
|||
}
|
||||
|
||||
#ifdef CONFIG_SMP
|
||||
return _Swap(key);
|
||||
(void)_Swap(key);
|
||||
return;
|
||||
#else
|
||||
if (_get_next_ready_thread() != _current) {
|
||||
(void)_Swap(key);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue