kernel: idle: exclude no-op funcs from coverage
These get overridden anyway. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
parent
682a53db28
commit
676b1ae93a
1 changed files with 5 additions and 0 deletions
|
|
@ -26,6 +26,10 @@
|
|||
*/
|
||||
unsigned char sys_pm_idle_exit_notify;
|
||||
|
||||
|
||||
/* LCOV_EXCL_START
|
||||
* These are almost certainly overidden and in any event do nothing
|
||||
*/
|
||||
#if defined(CONFIG_SYS_POWER_SLEEP_STATES)
|
||||
void __attribute__((weak)) _sys_resume(void)
|
||||
{
|
||||
|
|
@ -37,6 +41,7 @@ void __attribute__((weak)) _sys_resume_from_deep_sleep(void)
|
|||
{
|
||||
}
|
||||
#endif
|
||||
/* LCOV_EXCL_STOP */
|
||||
|
||||
#endif /* CONFIG_SYS_POWER_MANAGEMENT */
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue