thread/kernel: remove unused callback_id

we use the thread id for the same purpose now
This commit is contained in:
Weiyi Wang 2018-10-23 10:06:32 -04:00
parent eb285c33fd
commit 8d32843d68
1 changed files with 0 additions and 1 deletions

View File

@ -38,7 +38,6 @@ void Thread::Acquire(Thread* thread) {
ASSERT_MSG(!ShouldWait(thread), "object unavailable!"); ASSERT_MSG(!ShouldWait(thread), "object unavailable!");
} }
static u64 next_callback_id;
static std::unordered_map<u64, Thread*> wakeup_callback_table; static std::unordered_map<u64, Thread*> wakeup_callback_table;
// Lists all thread ids that aren't deleted/etc. // Lists all thread ids that aren't deleted/etc.