summaryrefslogtreecommitdiffstats
path: root/drivers/hid
diff options
context:
space:
mode:
authorMika Westerberg <mika.westerberg@linux.intel.com>2013-02-11 12:31:18 +0200
committerJiri Kosina <jkosina@suse.cz>2013-02-18 10:24:37 +0100
commit9ef0c5ff0cbdb4eb1f10351091154f3a85b8e9b7 (patch)
tree0a695a950c2ce696a82fb3801cadbdeeb4e07ed2 /drivers/hid
parentfa79f5ec534eaae59a7cb2ca208178f03f9b75ec (diff)
downloadop-kernel-dev-9ef0c5ff0cbdb4eb1f10351091154f3a85b8e9b7.zip
op-kernel-dev-9ef0c5ff0cbdb4eb1f10351091154f3a85b8e9b7.tar.gz
HID: sensor-hub: get rid of unused sensor_hub_grabbed_usages[] table
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>
Diffstat (limited to 'drivers/hid')
-rw-r--r--drivers/hid/hid-sensor-hub.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/hid/hid-sensor-hub.c b/drivers/hid/hid-sensor-hub.c
index 0bc58bd..3c55b3d 100644
--- a/drivers/hid/hid-sensor-hub.c
+++ b/drivers/hid/hid-sensor-hub.c
@@ -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,
OpenPOWER on IntegriCloud