Mac: Disable unused get_location_id()

Disable get_location_id(). It's not used in active code since make_path()
was removed.
This commit is contained in:
Brendan Shanks
2014-11-24 13:03:41 -08:00
committed by Alan Ott
parent 474145e766
commit ae15b65ed9
+5 -5
View File
@@ -214,11 +214,6 @@ static unsigned short get_product_id(IOHIDDeviceRef device)
return get_int_property(device, CFSTR(kIOHIDProductIDKey));
}
static int32_t get_location_id(IOHIDDeviceRef device)
{
return get_int_property(device, CFSTR(kIOHIDLocationIDKey));
}
static int32_t get_max_report_length(IOHIDDeviceRef device)
{
return get_int_property(device, CFSTR(kIOHIDMaxInputReportSizeKey));
@@ -1047,6 +1042,11 @@ HID_API_EXPORT const wchar_t * HID_API_CALL hid_error(hid_device *dev)
#if 0
static int32_t get_location_id(IOHIDDeviceRef device)
{
return get_int_property(device, CFSTR(kIOHIDLocationIDKey));
}
static int32_t get_usage(IOHIDDeviceRef device)
{
int32_t res;