From 3dd48a24ce16ace03afca2206061ced6b66d092c Mon Sep 17 00:00:00 2001 From: Nekotekina Date: Tue, 17 Nov 2020 14:47:17 +0300 Subject: [PATCH] atomic.cpp: remove tiny redundancy --- rpcs3/util/atomic.cpp | 2 +- rpcs3/util/atomic.hpp | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/rpcs3/util/atomic.cpp b/rpcs3/util/atomic.cpp index 60213df464..78a43d137c 100644 --- a/rpcs3/util/atomic.cpp +++ b/rpcs3/util/atomic.cpp @@ -746,7 +746,7 @@ namespace atomic_wait } // Main hashtable for atomic wait. -alignas(64) static atomic_wait::root_info s_hashtable[s_hashtable_size]{}; +static atomic_wait::root_info s_hashtable[s_hashtable_size]{}; u64 atomic_wait::get_unique_tsc() { diff --git a/rpcs3/util/atomic.hpp b/rpcs3/util/atomic.hpp index 24c277d830..96f6707f3c 100644 --- a/rpcs3/util/atomic.hpp +++ b/rpcs3/util/atomic.hpp @@ -20,9 +20,6 @@ namespace atomic_wait // Max number of simultaneous atomic variables to wait on (can be extended if really necessary) constexpr uint max_list = 8; - struct root_info; - struct sema_handle; - enum class op : u8 { eq, // Wait while value is bitwise equal to