Commit 2cd5bb29 authored by Huzaifa Sidhpurwala's avatar Huzaifa Sidhpurwala Committed by Greg Kroah-Hartman

USB: Remove unused is_iso from fsl_udc_core.c

is_iso variable is not used anywhere, remove it
Signed-off-by: default avatarHuzaifa Sidhpurwala <huzaifas@redhat.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 5af9a6eb
...@@ -766,7 +766,6 @@ fsl_ep_queue(struct usb_ep *_ep, struct usb_request *_req, gfp_t gfp_flags) ...@@ -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_req *req = container_of(_req, struct fsl_req, req);
struct fsl_udc *udc; struct fsl_udc *udc;
unsigned long flags; unsigned long flags;
int is_iso = 0;
/* catch various bogus parameters */ /* catch various bogus parameters */
if (!_req || !req->req.complete || !req->req.buf if (!_req || !req->req.complete || !req->req.buf
...@@ -781,7 +780,6 @@ fsl_ep_queue(struct usb_ep *_ep, struct usb_request *_req, gfp_t gfp_flags) ...@@ -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 (ep->desc->bmAttributes == USB_ENDPOINT_XFER_ISOC) {
if (req->req.length > ep->ep.maxpacket) if (req->req.length > ep->ep.maxpacket)
return -EMSGSIZE; return -EMSGSIZE;
is_iso = 1;
} }
udc = ep->udc; udc = ep->udc;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment