Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 235394
b: refs/heads/master
c: 2cd5bb2
h: refs/heads/master
v: v3
  • Loading branch information
Huzaifa Sidhpurwala authored and Greg Kroah-Hartman committed Mar 3, 2011
1 parent 2ec9d3d commit 97bea2a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 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: 5af9a6eb376bf7a9da738a56c01206e6d7e4a1b1
refs/heads/master: 2cd5bb29a42f305c5749571c8cd693fbe69cc28d
2 changes: 0 additions & 2 deletions trunk/drivers/usb/gadget/fsl_udc_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -766,7 +766,6 @@ fsl_ep_queue(struct usb_ep *_ep, struct usb_request *_req, gfp_t gfp_flags)
struct fsl_req *req = container_of(_req, struct fsl_req, req);
struct fsl_udc *udc;
unsigned long flags;
int is_iso = 0;

/* catch various bogus parameters */
if (!_req || !req->req.complete || !req->req.buf
Expand All @@ -781,7 +780,6 @@ fsl_ep_queue(struct usb_ep *_ep, struct usb_request *_req, gfp_t gfp_flags)
if (ep->desc->bmAttributes == USB_ENDPOINT_XFER_ISOC) {
if (req->req.length > ep->ep.maxpacket)
return -EMSGSIZE;
is_iso = 1;
}

udc = ep->udc;
Expand Down

0 comments on commit 97bea2a

Please sign in to comment.