Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 267965
b: refs/heads/master
c: 58ef397
h: refs/heads/master
i:
  267963: cbcf0be
v: v3
  • Loading branch information
K. Y. Srinivasan authored and Greg Kroah-Hartman committed Aug 25, 2011
1 parent 33f473d commit 8a0aa7f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions 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: de6e0580d5884942f58a636902e5b0225f38b8cf
refs/heads/master: 58ef3977ce8e0edba374dd7645e59cf5afdc6447
5 changes: 1 addition & 4 deletions trunk/drivers/staging/hv/rndis_filter.c
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ static int rndis_filter_set_packet_filter(struct rndis_device *dev,
RNDIS_MESSAGE_SIZE(struct rndis_set_request) +
sizeof(u32));
if (!request) {
ret = -1;
ret = -ENOMEM;
goto Cleanup;
}

Expand All @@ -531,7 +531,6 @@ static int rndis_filter_set_packet_filter(struct rndis_device *dev,
t = wait_for_completion_timeout(&request->wait_event, 5*HZ);

if (t == 0) {
ret = -1;
dev_err(&dev->net_dev->dev->device,
"timeout before we got a set response...\n");
/*
Expand All @@ -540,8 +539,6 @@ static int rndis_filter_set_packet_filter(struct rndis_device *dev,
*/
goto Exit;
} else {
if (ret > 0)
ret = 0;
set_complete = &request->response_msg.msg.set_complete;
status = set_complete->status;
}
Expand Down

0 comments on commit 8a0aa7f

Please sign in to comment.