From 73927b09480fd5d664f7077a70a8b6df318cdd2d Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Wed, 14 Jun 2023 15:16:21 -0700 Subject: [PATCH] Removed unused function --- src/joystick/hidapi/SDL_hidapijoystick.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/joystick/hidapi/SDL_hidapijoystick.c b/src/joystick/hidapi/SDL_hidapijoystick.c index 0b6b4c1245..24c907eef7 100644 --- a/src/joystick/hidapi/SDL_hidapijoystick.c +++ b/src/joystick/hidapi/SDL_hidapijoystick.c @@ -653,12 +653,6 @@ void HIDAPI_SetDeviceName(SDL_HIDAPI_Device *device, const char *name) } } -void HIDAPI_SetDeviceVendor(SDL_HIDAPI_Device *device, Uint16 vendor_id) -{ - /* Don't set the device vendor ID directly, or we'll constantly re-enumerate this device */ - SDL_SetJoystickGUIDVendor(&device->guid, vendor_id); -} - void HIDAPI_SetDeviceProduct(SDL_HIDAPI_Device *device, Uint16 vendor_id, Uint16 product_id) { /* Don't set the device product ID directly, or we'll constantly re-enumerate this device */