summaryrefslogtreecommitdiff
path: root/Kernel/Time/TimeManagement.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-04-16 18:20:27 +0200
committerAndreas Kling <kling@serenityos.org>2020-04-16 18:50:22 +0200
commitb035267afaaf72601e8a3e7afba437de340c786d (patch)
tree5e7a81818d8ed48e11850e502bf4908d2b32900c /Kernel/Time/TimeManagement.cpp
parent4b1f056e3a7ca0d3d9b693b5be9ec9ce0ac7c60e (diff)
downloadserenity-b035267afaaf72601e8a3e7afba437de340c786d.zip
Kernel: Remove "stale callback" concept from time management
If a hardware timer doesn't have a callback registered, it's now simply represented by a null m_callback.
Diffstat (limited to 'Kernel/Time/TimeManagement.cpp')
-rw-r--r--Kernel/Time/TimeManagement.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/Kernel/Time/TimeManagement.cpp b/Kernel/Time/TimeManagement.cpp
index 8b3830871e..a4e1137900 100644
--- a/Kernel/Time/TimeManagement.cpp
+++ b/Kernel/Time/TimeManagement.cpp
@@ -90,10 +90,6 @@ time_t TimeManagement::boot_time() const
return RTC::boot_time();
}
-void TimeManagement::stale_function(const RegisterState&)
-{
-}
-
TimeManagement::TimeManagement(bool probe_non_legacy_hardware_timers)
{
if (ACPI::is_enabled()) {