[core] Remove call_loop_ wrapper and call loop() directly (#14931)

This commit is contained in:
J. Nick Koston
2026-03-18 14:08:03 -10:00
committed by GitHub
parent 4d86049c21
commit a50d70c8d3
2 changed files with 2 additions and 4 deletions

View File

@@ -209,7 +209,6 @@ bool Component::cancel_retry(uint32_t id) {
#pragma GCC diagnostic pop
}
void Component::call_loop_() { this->loop(); }
void Component::call_setup() { this->setup(); }
void Component::call_dump_config_() {
this->dump_config();
@@ -259,11 +258,11 @@ void Component::call() {
case COMPONENT_STATE_SETUP:
// State setup: Call first loop and set state to loop
this->set_component_state_(COMPONENT_STATE_LOOP);
this->call_loop_();
this->loop();
break;
case COMPONENT_STATE_LOOP:
// State loop: Call loop
this->call_loop_();
this->loop();
break;
case COMPONENT_STATE_FAILED:
// State failed: Do nothing

View File

@@ -301,7 +301,6 @@ class Component {
protected:
friend class Application;
void call_loop_();
virtual void call_setup();
void call_dump_config_();