From a385057aefe1905d8cebe06c1989028d356b3672 Mon Sep 17 00:00:00 2001 From: George Ruseski Date: Thu, 6 Dec 2018 14:46:11 -0500 Subject: [PATCH] Remove redundant call to IOHIDManagerSetDeviceMatching --- mac/hid.c | 1 - 1 file changed, 1 deletion(-) diff --git a/mac/hid.c b/mac/hid.c index e0756a15..d98aa393 100644 --- a/mac/hid.c +++ b/mac/hid.c @@ -405,7 +405,6 @@ struct hid_device_info HID_API_EXPORT *hid_enumerate(unsigned short vendor_id, process_pending_events(); /* Get a list of the Devices */ - IOHIDManagerSetDeviceMatching(hid_mgr, NULL); CFSetRef device_set = IOHIDManagerCopyDevices(hid_mgr); /* Convert the list into a C array so we can iterate easily. */