Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 289575
b: refs/heads/master
c: 20edfbb
h: refs/heads/master
i:
  289573: 68c2952
  289571: 415f24f
  289567: 0748a2d
v: v3
  • Loading branch information
Sebastian Andrzej Siewior authored and Felipe Balbi committed Feb 9, 2012
1 parent c00d8e2 commit f5a1492
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: 3cf0ad02e42a91e85ffe9bd67422dd266531d3ec
refs/heads/master: 20edfbb6a17f3007c1905e9849d8d306e318883b
4 changes: 3 additions & 1 deletion trunk/drivers/usb/gadget/dummy_hcd.c
Original file line number Diff line number Diff line change
Expand Up @@ -599,8 +599,10 @@ static void dummy_free_request(struct usb_ep *_ep, struct usb_request *_req)
struct dummy_ep *ep;
struct dummy_request *req;

if (!_ep || !_req)
return;
ep = usb_ep_to_dummy_ep(_ep);
if (!ep || !_req || (!ep->desc && _ep->name != ep0name))
if (!ep->desc && _ep->name != ep0name)
return;

req = usb_request_to_dummy_request(_req);
Expand Down

0 comments on commit f5a1492

Please sign in to comment.