SDL: Removed unneeded asserts

From b8a416c9e64f76493981481dd9b166f5b6ea0fd3 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Mon, 2 Nov 2026 13:39:19 -0800
Subject: [PATCH] Removed unneeded asserts

---
 src/joystick/windows/SDL_xinputjoystick.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/joystick/windows/SDL_xinputjoystick.c b/src/joystick/windows/SDL_xinputjoystick.c
index eac7fa512cb15..65980306de278 100644
--- a/src/joystick/windows/SDL_xinputjoystick.c
+++ b/src/joystick/windows/SDL_xinputjoystick.c
@@ -329,10 +329,6 @@ static bool XINPUT_JoystickOpen(SDL_Joystick *joystick, SDL_JoystickDevice *devi
     const Uint8 userId = device->internal->userid;
     XINPUT_CAPABILITIES capabilities;
 
-    SDL_assert(s_bXInputEnabled);
-    SDL_assert(XINPUTGETCAPABILITIES);
-    SDL_assert(userId < XUSER_MAX_COUNT);
-
     if (XINPUTGETCAPABILITIES(userId, XINPUT_FLAG_GAMEPAD, &capabilities) != ERROR_SUCCESS) {
         SDL_free(joystick->hwdata);
         joystick->hwdata = NULL;