mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-20 17:52:52 +00:00
libc: Remove unused variables from Libc::Kernel.
The _dispatch_pending_io_signals and _original_suspended_callback member variables are not used anywhere in the code. This prompts clang to produce a warning message about it. Remove both variables to fix it. Issue #3985
This commit is contained in:
parent
90b20b4daf
commit
384cf14bee
@ -204,7 +204,6 @@ struct Libc::Kernel final : Vfs::Io_response_handler,
|
||||
jmp_buf _kernel_context;
|
||||
jmp_buf _user_context;
|
||||
bool _valid_user_context = false;
|
||||
bool _dispatch_pending_io_signals = false;
|
||||
|
||||
/* io_progress_handler marker */
|
||||
bool _io_progressed { false };
|
||||
@ -219,8 +218,6 @@ struct Libc::Kernel final : Vfs::Io_response_handler,
|
||||
_myself.alloc_secondary_stack(_myself.name().string(),
|
||||
_user_stack_size()) };
|
||||
|
||||
void (*_original_suspended_callback)() = nullptr;
|
||||
|
||||
enum State { KERNEL, USER };
|
||||
|
||||
State _state = KERNEL;
|
||||
|
Loading…
x
Reference in New Issue
Block a user