Browse Source

linux/SDL_sysjoystick.c (MaybeRemoveDevice): remove SDL_USE_LIBUDEV guards

fixes bug #5349.
Ozkan Sezer 4 years ago
parent
commit
c122e9b9ce
1 changed files with 0 additions and 2 deletions
  1. 0 2
      src/joystick/linux/SDL_sysjoystick.c

+ 0 - 2
src/joystick/linux/SDL_sysjoystick.c

@@ -343,7 +343,6 @@ MaybeAddDevice(const char *path)
     return numjoysticks;
     return numjoysticks;
 }
 }
 
 
-#if SDL_USE_LIBUDEV
 static int
 static int
 MaybeRemoveDevice(const char *path)
 MaybeRemoveDevice(const char *path)
 {
 {
@@ -386,7 +385,6 @@ MaybeRemoveDevice(const char *path)
 
 
     return -1;
     return -1;
 }
 }
-#endif
 
 
 static void
 static void
 HandlePendingRemovals(void)
 HandlePendingRemovals(void)