lkml.org 
[lkml]   [2006]   [Jun]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[-mm patch] #if 0 drivers/usb/input/hid-core.c:hid_find_field_by_usage()
This patch #if 0's the no longer used hid_find_field_by_usage().

Signed-off-by: Adrian Bunk <bunk@stusta.de>

---
drivers/usb/input/hid-core.c | 3 ++-
drivers/usb/input/hid.h | 1 -
2 files changed, 2 insertions(+), 2 deletions(-)
--- linux-2.6.17-mm1-full/drivers/usb/input/hid.h.old 2006-06-22 01:20:25.000000000 +0200
+++ linux-2.6.17-mm1-full/drivers/usb/input/hid.h 2006-06-22 01:20:33.000000000 +0200
@@ -519,7 +519,6 @@
int hid_set_field(struct hid_field *, unsigned, __s32);
void hid_submit_report(struct hid_device *, struct hid_report *, unsigned char dir);
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);


--- linux-2.6.17-mm1-full/drivers/usb/input/hid-core.c.old 2006-06-22 01:20:41.000000000 +0200
+++ linux-2.6.17-mm1-full/drivers/usb/input/hid-core.c 2006-06-22 01:21:00.000000000 +0200
@@ -1108,7 +1108,7 @@
/*
* 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_report *report;
@@ -1120,6 +1120,7 @@
return report->field[i];
return NULL;
}
+#endif /* 0 */

static int hid_submit_out(struct hid_device *hid)
{
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-06-22 12:06    [from the cache]
©2003-2011 Jasper Spaans