Remove USB_Initialize/USB_Deinitialize from wiiusb_hid.c

This commit is contained in:
twinaphex 2015-09-24 00:09:35 +02:00
parent 89724c541d
commit 61a40be54d

View File

@ -472,8 +472,6 @@ static void wiiusb_hid_free(void *data)
// wiiusb_hotplug_deregister_callback(hid->ctx, hid->hp);
USB_Deinitialize();
if (hid)
free(hid);
}
@ -501,8 +499,6 @@ static void *wiiusb_hid_init(void)
if (!dev_entries)
goto error;
USB_Initialize();
if (USB_GetDeviceList(dev_entries, MAX_USERS, USB_CLASS_HID, &count) < 0)
{
free(dev_entries);