From 9f812215286a0757a3d4e15131c9103d41a5327b Mon Sep 17 00:00:00 2001 From: bunnei Date: Mon, 3 May 2021 18:36:01 -0700 Subject: fixup! hle: kernel: Ensure all kernel objects with KAutoObject are properly created. --- src/core/hle/service/am/am.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/core/hle/service/am') diff --git a/src/core/hle/service/am/am.cpp b/src/core/hle/service/am/am.cpp index e8b82db00..408e441dc 100644 --- a/src/core/hle/service/am/am.cpp +++ b/src/core/hle/service/am/am.cpp @@ -1338,8 +1338,6 @@ IApplicationFunctions::IApplicationFunctions(Core::System& system_) RegisterHandlers(functions); - auto& kernel = system.Kernel(); - Kernel::KAutoObject::Create(std::addressof(gpu_error_detected_event)); Kernel::KAutoObject::Create(std::addressof(friend_invitation_storage_channel_event)); Kernel::KAutoObject::Create(std::addressof(health_warning_disappeared_system_event)); -- cgit v1.2.3