aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/usb/input/hid-core.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/drivers/usb/input/hid-core.c b/drivers/usb/input/hid-core.c
index 0392d0e8d020..cc1feb0ef296 100644
--- a/drivers/usb/input/hid-core.c
+++ b/drivers/usb/input/hid-core.c
@@ -221,23 +221,6 @@ static void hid_irq_in(struct urb *urb)
221 } 221 }
222} 222}
223 223
224/*
225 * Find a report field with a specified HID usage.
226 */
227#if 0
228struct hid_field *hid_find_field_by_usage(struct hid_device *hid, __u32 wanted_usage, int type)
229{
230 struct hid_report *report;
231 int i;
232
233 list_for_each_entry(report, &hid->report_enum[type].report_list, list)
234 for (i = 0; i < report->maxfield; i++)
235 if (report->field[i]->logical == wanted_usage)
236 return report->field[i];
237 return NULL;
238}
239#endif /* 0 */
240
241static int hid_submit_out(struct hid_device *hid) 224static int hid_submit_out(struct hid_device *hid)
242{ 225{
243 struct hid_report *report; 226 struct hid_report *report;