diff --git a/src/core/hle/lock.cpp b/src/core/hle/lock.cpp
index 1c24c7ce95..af0f0e31b8 100644
--- a/src/core/hle/lock.cpp
+++ b/src/core/hle/lock.cpp
@@ -2,10 +2,8 @@
 // Licensed under GPLv2 or any later version
 // Refer to the license.txt file included.
 
-#pragma once
-
 #include <core/hle/lock.h>
 
 namespace HLE {
 std::recursive_mutex g_hle_lock;
-}
+} // namespace HLE