From 510f71d87191e598cf2067c89d16103b04079157 Mon Sep 17 00:00:00 2001 From: bunnei Date: Tue, 4 May 2021 19:50:14 -0700 Subject: fixup! hle: kernel: Ensure all kernel objects with KAutoObject are properly created. --- src/core/hle/service/nifm/nifm.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/core') diff --git a/src/core/hle/service/nifm/nifm.cpp b/src/core/hle/service/nifm/nifm.cpp index c91427b8b..94ef3983a 100644 --- a/src/core/hle/service/nifm/nifm.cpp +++ b/src/core/hle/service/nifm/nifm.cpp @@ -158,8 +158,6 @@ public: }; RegisterHandlers(functions); - auto& kernel = system.Kernel(); - Kernel::KAutoObject::Create(std::addressof(event1)); Kernel::KAutoObject::Create(std::addressof(event2)); -- cgit v1.2.3