Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 215592
b: refs/heads/master
c: 67168fd
h: refs/heads/master
v: v3
  • Loading branch information
Nikolai Kondrashov authored and Jiri Kosina committed Sep 2, 2010
1 parent da11c03 commit f3cb021
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 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: cdd49a85e237929a4c00965f1a88bdd9195898d8
refs/heads/master: 67168fd7d4044f21c542128529216cfaad23c03e
6 changes: 0 additions & 6 deletions trunk/drivers/hid/hid-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -388,12 +388,6 @@ static int hid_parser_local(struct hid_parser *parser, struct hid_item *item)
__u32 data;
unsigned n;

/* Local delimiter could have value 0, which allows size to be 0 */
if (item->size == 0 && item->tag != HID_LOCAL_ITEM_TAG_DELIMITER) {
dbg_hid("item data expected for local item\n");
return -1;
}

data = item_udata(item);

switch (item->tag) {
Expand Down

0 comments on commit f3cb021

Please sign in to comment.