From 43e7ddb9decc4a236d2af65ab49ad4f2e94264d6 Mon Sep 17 00:00:00 2001 From: EnderIce2 Date: Sat, 24 May 2025 00:39:20 +0000 Subject: [PATCH] fix(kernel): remove redundant HPET counter test loop --- Kernel/subsystem/time/hpet.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Kernel/subsystem/time/hpet.cpp b/Kernel/subsystem/time/hpet.cpp index c1aca55b..86643d9c 100644 --- a/Kernel/subsystem/time/hpet.cpp +++ b/Kernel/subsystem/time/hpet.cpp @@ -75,12 +75,6 @@ namespace Time mmoutl(&this->hpet->Configuration, 1); #endif - for (int i = 0; i < 5; i++) - { - uint64_t val = mminq(&this->hpet->MainCounter); - KPrint("HPET counter test %d: %llu", i, val); - } - uint64_t cfg = mminq(&this->hpet->Configuration); if (!(cfg & 1)) warn("HPET counter is not enabled!");