tests: profiling: Remove unnecessary stubs

It is not necessary to implement stubs for system pm functions.

Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
This commit is contained in:
Flavio Ceolin 2021-05-13 14:44:15 -07:00 committed by Christopher Friedt
commit 96d5a58a46

View file

@ -22,22 +22,6 @@ static void tdata_dump_callback(const struct k_thread *thread, void *user_data)
log_stack_usage(thread);
}
/*
* Weak power hook functions. Used on systems that have not implemented
* power management.
*/
__weak void pm_power_state_set(struct pm_state_info info)
{
/* Never called. */
__ASSERT_NO_MSG(false);
}
__weak void pm_power_state_exit_post_ops(struct pm_state_info info)
{
/* Never called. */
__ASSERT_NO_MSG(false);
}
/* Our PM policy handler */
struct pm_state_info pm_policy_next_state(int32_t ticks)
{