SDL: Removed unused SDL_NO_THREAD_SAFETY_ANALYSIS annotations

From 8fc727ef2c02c6efba5ae4a1704070070554cb40 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Wed, 28 Oct 2026 15:03:49 -0700
Subject: [PATCH] Removed unused SDL_NO_THREAD_SAFETY_ANALYSIS annotations

---
 src/joystick/hidapi/SDL_hidapi_switch.c  | 2 +-
 src/joystick/hidapi/SDL_hidapijoystick.c | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/joystick/hidapi/SDL_hidapi_switch.c b/src/joystick/hidapi/SDL_hidapi_switch.c
index 9102a29df80b6..21f3a6559ba78 100644
--- a/src/joystick/hidapi/SDL_hidapi_switch.c
+++ b/src/joystick/hidapi/SDL_hidapi_switch.c
@@ -2589,7 +2589,7 @@ static void HandleMiniControllerStateR(Uint64 timestamp, SDL_Joystick *joystick,
     SDL_SendJoystickAxis(timestamp, joystick, SDL_GAMEPAD_AXIS_LEFTX, axis);
 }
 
-static void HandleFullControllerState(SDL_Joystick *joystick, SDL_DriverSwitch_Context *ctx, SwitchStatePacket_t *packet) SDL_NO_THREAD_SAFETY_ANALYSIS // We unlock and lock the device lock to be able to change IMU state
+static void HandleFullControllerState(SDL_Joystick *joystick, SDL_DriverSwitch_Context *ctx, SwitchStatePacket_t *packet)
 {
     Uint64 timestamp = SDL_GetTicksNS();
 
diff --git a/src/joystick/hidapi/SDL_hidapijoystick.c b/src/joystick/hidapi/SDL_hidapijoystick.c
index c2cfd184dbdb0..5105fbf8d65e1 100644
--- a/src/joystick/hidapi/SDL_hidapijoystick.c
+++ b/src/joystick/hidapi/SDL_hidapijoystick.c
@@ -474,7 +474,7 @@ static void HIDAPI_CleanupDeviceDriver(SDL_HIDAPI_Device *device)
     }
 }
 
-static void HIDAPI_SetupDeviceDriver(SDL_HIDAPI_Device *device, bool *removed) SDL_NO_THREAD_SAFETY_ANALYSIS // We unlock the joystick lock to be able to open the HID device on Android
+static void HIDAPI_SetupDeviceDriver(SDL_HIDAPI_Device *device, bool *removed)
 {
     *removed = false;
 
@@ -1715,7 +1715,7 @@ static void HIDAPI_JoystickUpdate(SDL_Joystick *joystick)
     // This is handled in SDL_HIDAPI_UpdateDevices()
 }
 
-static void HIDAPI_JoystickClose(SDL_Joystick *joystick) SDL_NO_THREAD_SAFETY_ANALYSIS // We unlock the device lock so rumble can complete
+static void HIDAPI_JoystickClose(SDL_Joystick *joystick)
 {
     SDL_AssertJoysticksLocked();