Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 343110
b: refs/heads/master
c: e3bbe87
h: refs/heads/master
v: v3
  • Loading branch information
Alan Cox authored and Jiri Kosina committed Nov 20, 2012
1 parent 120d794 commit 7e0f287
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 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: d339f61d14692517e9ba5a977fc266769d6c5c28
refs/heads/master: e3bbe8755c9c947d80f88c8a2a81073dbc01bd1f
4 changes: 0 additions & 4 deletions trunk/drivers/hid/hid-sensor-hub.c
Original file line number Diff line number Diff line change
Expand Up @@ -437,9 +437,6 @@ static int sensor_hub_raw_event(struct hid_device *hdev,
ptr = raw_data;
ptr++; /*Skip report id*/

if (!report)
goto err_report;

spin_lock_irqsave(&pdata->lock, flags);

for (i = 0; i < report->maxfield; ++i) {
Expand Down Expand Up @@ -485,7 +482,6 @@ static int sensor_hub_raw_event(struct hid_device *hdev,
callback->pdev);
spin_unlock_irqrestore(&pdata->lock, flags);

err_report:
return 1;
}

Expand Down

0 comments on commit 7e0f287

Please sign in to comment.