Remove exec_static_constructors from dde_linux drivers

This is a follow-up commit to "lx_emul: generate initcalls during build".

Issue #5096
This commit is contained in:
Christian Helmuth 2024-03-14 09:26:26 +01:00
parent 7ec08af6d9
commit abb2045e17
4 changed files with 0 additions and 11 deletions

View File

@ -92,12 +92,6 @@ class Wireguard::Main : private Entrypoint::Io_progress_handler,
{
Lx_kit::initialize(_env, _signal_handler);
/*
* We have to call the static constructors because otherwise the
* initcall list of the LX kit won't get populated.
*/
_env.exec_static_constructors();
_config_rom.sigh(_config_handler);
_handle_config();

View File

@ -44,8 +44,6 @@ struct Test::Driver
{
Lx_kit::initialize(env, _signal_handler);
env.exec_static_constructors();
try {
Attached_rom_dataspace info(env, "platform_info");
tsc_freq_khz = info.xml().sub_node("hardware").sub_node("tsc")

View File

@ -119,7 +119,6 @@ struct Framebuffer::Driver
Driver(Env &env) : env(env)
{
Lx_kit::initialize(env, scheduler_handler);
env.exec_static_constructors();
config.sigh(config_handler);
}

View File

@ -64,8 +64,6 @@ struct Pc::Main
{
Lx_kit::initialize(env, _signal_handler);
env.exec_static_constructors();
genode_mac_address_reporter_init(env, Lx_kit::env().heap);
genode_uplink_init(genode_env_ptr(env),