From d705c31d1a6cbcc26ccd64be48d33272b0c64176 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Mon, 11 Dec 2023 17:27:54 -0500 Subject: [PATCH 1/2] DolphinQT/Host: Remove unused TLS variable tls_is_host_thread This is never accessed or read from. --- Source/Core/DolphinQt/Host.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/Source/Core/DolphinQt/Host.cpp b/Source/Core/DolphinQt/Host.cpp index 6a4939b106..e3652ce065 100644 --- a/Source/Core/DolphinQt/Host.cpp +++ b/Source/Core/DolphinQt/Host.cpp @@ -41,8 +41,6 @@ #include "VideoCommon/Present.h" #include "VideoCommon/VideoConfig.h" -static thread_local bool tls_is_host_thread = false; - Host::Host() { State::SetOnAfterLoadCallback([] { Host_UpdateDisasmDialog(); }); From f490b990f539e1d7ccdc9967d8b35633d2b53f16 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Mon, 11 Dec 2023 17:29:42 -0500 Subject: [PATCH 2/2] DolphinQT/Host: Remove unimplemented prototypes Remnants of prior existing code. --- Source/Core/DolphinQt/Host.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/Source/Core/DolphinQt/Host.h b/Source/Core/DolphinQt/Host.h index 6ddc4cb3e4..6af6d60aea 100644 --- a/Source/Core/DolphinQt/Host.h +++ b/Source/Core/DolphinQt/Host.h @@ -21,9 +21,6 @@ public: static Host* GetInstance(); - void DeclareAsHostThread(); - bool IsHostThread(); - bool GetRenderFocus(); bool GetRenderFullFocus(); bool GetRenderFullscreen();