HID: sensor-hub: get rid of unused sensor_hub_grabbed_usages[] table
authorMika Westerberg <mika.westerberg@linux.intel.com>
Mon, 11 Feb 2013 10:31:18 +0000 (12:31 +0200)
committerJiri Kosina <jkosina@suse.cz>
Mon, 18 Feb 2013 09:24:37 +0000 (10:24 +0100)
This table is not used anywhere in the driver so kill it.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-sensor-hub.c

index 0bc58bd8d4f5a9e496187310326aff7e031e74f0..3c55b3d4a0d1961aa53c2ef4a77043e5daf3c87c 100644 (file)
@@ -610,11 +610,6 @@ static const struct hid_device_id sensor_hub_devices[] = {
 };
 MODULE_DEVICE_TABLE(hid, sensor_hub_devices);
 
-static const struct hid_usage_id sensor_hub_grabbed_usages[] = {
-       { HID_ANY_ID, HID_ANY_ID, HID_ANY_ID },
-       { HID_ANY_ID - 1, HID_ANY_ID - 1, HID_ANY_ID - 1 }
-};
-
 static struct hid_driver sensor_hub_driver = {
        .name = "hid-sensor-hub",
        .id_table = sensor_hub_devices,