Skip to content

Commit

Permalink
USB: Remove unused is_iso from fsl_udc_core.c
Browse files Browse the repository at this point in the history
is_iso variable is not used anywhere, remove it

Signed-off-by: Huzaifa Sidhpurwala <huzaifas@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Huzaifa Sidhpurwala authored and Greg Kroah-Hartman committed Mar 3, 2011
1 parent 5af9a6e commit 2cd5bb2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions 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 2cd5bb2

Please sign in to comment.