diff --git a/mesosphere/include/mesosphere/core/KAutoObject.hpp b/mesosphere/include/mesosphere/core/KAutoObject.hpp index 7d691004f..2d10d94a9 100644 --- a/mesosphere/include/mesosphere/core/KAutoObject.hpp +++ b/mesosphere/include/mesosphere/core/KAutoObject.hpp @@ -57,9 +57,6 @@ class KAutoObject { return (u64)(uiptr)this; } - /// Is alive (checked for deletion) - virtual bool IsAlive() const = 0; - /// Virtual destructor virtual ~KAutoObject(); diff --git a/mesosphere/include/mesosphere/interrupts/KInterruptEvent.hpp b/mesosphere/include/mesosphere/interrupts/KInterruptEvent.hpp index 89798b18d..1c5c2a0a2 100644 --- a/mesosphere/include/mesosphere/interrupts/KInterruptEvent.hpp +++ b/mesosphere/include/mesosphere/interrupts/KInterruptEvent.hpp @@ -16,13 +16,9 @@ class KInterruptEvent final : public KReadableEvent, public ISetAllocatedirqId = irqId; - isInitialized = true; return ResultSuccess(); } -bool KInterruptEvent::IsAlive() const -{ - return isInitialized; -} - } diff --git a/mesosphere/source/processes/KEvent.cpp b/mesosphere/source/processes/KEvent.cpp index 050a129bd..ade62a12f 100644 --- a/mesosphere/source/processes/KEvent.cpp +++ b/mesosphere/source/processes/KEvent.cpp @@ -9,18 +9,12 @@ KEvent::~KEvent() { } -bool KEvent::IsAlive() const -{ - return isInitialized; -} - Result KEvent::Initialize() { SetClientServerParent(); SetResourceOwner(KCoreContext::GetCurrentInstance().GetCurrentProcess()); - isInitialized = true; return ResultSuccess(); } -} \ No newline at end of file +} diff --git a/mesosphere/source/threading/KThread.cpp b/mesosphere/source/threading/KThread.cpp index 51a1c2774..7e2a5d1af 100644 --- a/mesosphere/source/threading/KThread.cpp +++ b/mesosphere/source/threading/KThread.cpp @@ -9,11 +9,6 @@ namespace mesosphere { -bool KThread::IsAlive() const -{ - return true; -} - void KThread::OnAlarm() { CancelKernelSync();