Merge pull request #5536 from mysterywolf/pm

[kernel][pm] beautify code
This commit is contained in:
guo 2022-01-20 16:40:27 +08:00 committed by GitHub
commit b67f34b097
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -241,7 +241,6 @@ static void rt_defunct_execute(void)
}
}
extern void rt_system_power_manager(void);
static void rt_thread_idle_entry(void *parameter)
{
#ifdef RT_USING_SMP
@ -275,6 +274,7 @@ static void rt_thread_idle_entry(void *parameter)
#endif /* RT_USING_SMP */
#ifdef RT_USING_PM
void rt_system_power_manager(void);
rt_system_power_manager();
#endif /* RT_USING_PM */
}