Commit f287caee authored by Adrian Bunk's avatar Adrian Bunk Committed by Dmitry Torokhov

Input: hid - #if 0 the no longer used hid_find_field_by_usage()

Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
parent 8b8277a1
...@@ -1106,7 +1106,7 @@ int hid_set_field(struct hid_field *field, unsigned offset, __s32 value) ...@@ -1106,7 +1106,7 @@ int hid_set_field(struct hid_field *field, unsigned offset, __s32 value)
/* /*
* Find a report field with a specified HID usage. * Find a report field with a specified HID usage.
*/ */
#if 0
struct hid_field *hid_find_field_by_usage(struct hid_device *hid, __u32 wanted_usage, int type) struct hid_field *hid_find_field_by_usage(struct hid_device *hid, __u32 wanted_usage, int type)
{ {
struct hid_report *report; struct hid_report *report;
...@@ -1118,6 +1118,7 @@ struct hid_field *hid_find_field_by_usage(struct hid_device *hid, __u32 wanted_u ...@@ -1118,6 +1118,7 @@ struct hid_field *hid_find_field_by_usage(struct hid_device *hid, __u32 wanted_u
return report->field[i]; return report->field[i];
return NULL; return NULL;
} }
#endif /* 0 */
static int hid_submit_out(struct hid_device *hid) static int hid_submit_out(struct hid_device *hid)
{ {
......
...@@ -516,7 +516,6 @@ void hid_close(struct hid_device *); ...@@ -516,7 +516,6 @@ void hid_close(struct hid_device *);
int hid_set_field(struct hid_field *, unsigned, __s32); int hid_set_field(struct hid_field *, unsigned, __s32);
void hid_submit_report(struct hid_device *, struct hid_report *, unsigned char dir); void hid_submit_report(struct hid_device *, struct hid_report *, unsigned char dir);
void hid_init_reports(struct hid_device *hid); void hid_init_reports(struct hid_device *hid);
struct hid_field *hid_find_field_by_usage(struct hid_device *hid, __u32 wanted_usage, int type);
int hid_wait_io(struct hid_device* hid); int hid_wait_io(struct hid_device* hid);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment