Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 82170
b: refs/heads/master
c: 2336a98
h: refs/heads/master
v: v3
  • Loading branch information
Li Yang authored and Greg Kroah-Hartman committed Feb 1, 2008
1 parent 2cecfdb commit b970f2c
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 3004e5379a525d848bbe8ddff2c534ac0fb04e2c
refs/heads/master: 2336a986793c771008b181ec65334c240ce512ca
2 changes: 1 addition & 1 deletion trunk/drivers/usb/gadget/fsl_usb2_udc.c
Original file line number Diff line number Diff line change
Expand Up @@ -776,7 +776,7 @@ fsl_ep_queue(struct usb_ep *_ep, struct usb_request *_req, gfp_t gfp_flags)
VDBG("%s, bad params\n", __FUNCTION__);
return -EINVAL;
}
if (!_ep || (!ep->desc && ep_index(ep))) {
if (unlikely(!_ep || !ep->desc)) {
VDBG("%s, bad ep\n", __FUNCTION__);
return -EINVAL;
}
Expand Down

0 comments on commit b970f2c

Please sign in to comment.