Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 264771
b: refs/heads/master
c: 45dc1ac
h: refs/heads/master
i:
  264769: ef93c53
  264767: 3fb005a
v: v3
  • Loading branch information
Jiri Kosina committed Aug 10, 2011
1 parent ab03f95 commit 94bc253
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 4ea5454203d991ec85264f64f89ca8855fce69b0
refs/heads/master: 45dc1ac73d28b3adb5819818785e758b1f369b74
4 changes: 2 additions & 2 deletions trunk/drivers/hid/hid-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1086,7 +1086,7 @@ int hid_input_report(struct hid_device *hid, int type, u8 *data, int size, int i
struct hid_report *report;
char *buf;
unsigned int i;
int ret;
int ret = 0;

if (!hid)
return -ENODEV;
Expand Down Expand Up @@ -1145,7 +1145,7 @@ int hid_input_report(struct hid_device *hid, int type, u8 *data, int size, int i

unlock:
up(&hid->driver_lock);
return 0;
return ret;
}
EXPORT_SYMBOL_GPL(hid_input_report);

Expand Down

0 comments on commit 94bc253

Please sign in to comment.