mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-20 08:03:56 +00:00
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:
@ -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();
|
||||
|
||||
|
@ -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")
|
||||
|
Reference in New Issue
Block a user