diff options
| author | Man, Jianting (Meco) <[email protected]> | 2022-04-28 18:34:42 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-04-29 06:34:42 +0800 |
| commit | 6295ec108eba9e7783383c30e75c0b1c1d2d6ada (patch) | |
| tree | 989d4603d2250cc628c83a0b176f4c6c6b225389 /src/idle.c | |
| parent | c28b79b7d79df6f2f5037a00a844293052b096cd (diff) | |
[kernel] remove the register keyword (#5888)
Diffstat (limited to 'src/idle.c')
| -rw-r--r-- | src/idle.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/idle.c b/src/idle.c index ea8eb61c46..4d147a297a 100644 --- a/src/idle.c +++ b/src/idle.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2006-2021, RT-Thread Development Team + * Copyright (c) 2006-2022, RT-Thread Development Team * * SPDX-License-Identifier: Apache-2.0 * @@ -344,9 +344,9 @@ void rt_thread_idle_init(void) rt_thread_t rt_thread_idle_gethandler(void) { #ifdef RT_USING_SMP - register int id = rt_hw_cpu_id(); + int id = rt_hw_cpu_id(); #else - register int id = 0; + int id = 0; #endif /* RT_USING_SMP */ return (rt_thread_t)(&idle[id]); |
