Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 155621
b: refs/heads/master
c: 76c317d
h: refs/heads/master
i:
  155619: 7ac9866
v: v3
  • Loading branch information
Julia Lawall authored and Jiri Kosina committed Jul 19, 2009
1 parent 4c1a6a9 commit 597fd3c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4859484b0957ddc7fe3e0fa349d98b0f1c7876bd
refs/heads/master: 76c317d6e5cb7f58541879006d39774596962715
6 changes: 4 additions & 2 deletions trunk/drivers/hid/hid-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1075,14 +1075,16 @@ EXPORT_SYMBOL_GPL(hid_report_raw_event);
*/
int hid_input_report(struct hid_device *hid, int type, u8 *data, int size, int interrupt)
{
struct hid_report_enum *report_enum = hid->report_enum + type;
struct hid_driver *hdrv = hid->driver;
struct hid_report_enum *report_enum;
struct hid_driver *hdrv;
struct hid_report *report;
unsigned int i;
int ret;

if (!hid || !hid->driver)
return -ENODEV;
report_enum = hid->report_enum + type;
hdrv = hid->driver;

if (!size) {
dbg_hid("empty report\n");
Expand Down

0 comments on commit 597fd3c

Please sign in to comment.