diff --git a/repos/base-nova/src/base/lock/lock_helper.h b/repos/base-nova/src/base/lock/lock_helper.h index a205215ecc..0908481175 100644 --- a/repos/base-nova/src/base/lock/lock_helper.h +++ b/repos/base-nova/src/base/lock/lock_helper.h @@ -28,19 +28,6 @@ extern int main_thread_running_semaphore(); -/** - * Resolve 'Thread_base::myself' when not linking the thread library - * - * This weak symbol is primarily used by test cases. Most other Genode programs - * use the thread library. If the thread library is not used, 'myself' can only - * be called by the main thread, for which 'myself' is defined as zero. - */ -Genode::Thread_base * __attribute__((weak)) Genode::Thread_base::myself() -{ - return 0; -} - - static inline bool thread_check_stopped_and_restart(Genode::Thread_base *thread_base) { Genode::addr_t sem = thread_base ?