From f2973132685fe908a2dd651ea0b347456c911f37 Mon Sep 17 00:00:00 2001 From: bd Date: Sat, 22 Mar 2025 14:38:35 -0400 Subject: Remove manual clock advancing / resolution from storage devices --- src/storage/storage.cc | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'src/storage/storage.cc') diff --git a/src/storage/storage.cc b/src/storage/storage.cc index 8e2e461..fed607b 100644 --- a/src/storage/storage.cc +++ b/src/storage/storage.cc @@ -14,15 +14,3 @@ Storage::view(int base, int lines) const } Storage *Storage::get_lower() { return this->lower; } - -void Storage::resolve() -{ - if (this->lower) - this->lower->resolve(); - if (this->wait_time == 0) { - this->requester = IDLE; - this->wait_time = delay; - } else if (this->requester != IDLE && !this->is_waiting) { - --this->wait_time; - } -} -- cgit v1.2.3