1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-10 04:07:35 +00:00

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.
This commit is contained in:
Andreas Kling 2020-04-16 18:20:27 +02:00
parent 4b1f056e3a
commit b035267afa
6 changed files with 7 additions and 11 deletions

View file

@ -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()) {