summaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorHuzaifa Sidhpurwala <huzaifas@redhat.com>2011-03-02 11:53:00 +0530
committerGreg Kroah-Hartman <gregkh@suse.de>2011-03-02 19:52:29 -0500
commit2cd5bb29a42f305c5749571c8cd693fbe69cc28d (patch)
treef64e1655ab211609bfe0cf4f020a906ed7477f06 /drivers/usb
parent5af9a6eb376bf7a9da738a56c01206e6d7e4a1b1 (diff)
downloadblackbird-op-linux-2cd5bb29a42f305c5749571c8cd693fbe69cc28d.tar.gz
blackbird-op-linux-2cd5bb29a42f305c5749571c8cd693fbe69cc28d.zip
USB: Remove unused is_iso from fsl_udc_core.c
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>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/gadget/fsl_udc_core.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/gadget/fsl_udc_core.c b/drivers/usb/gadget/fsl_udc_core.c
index 4c55eda4bd20..912cb8e63fe3 100644
--- a/drivers/usb/gadget/fsl_udc_core.c
+++ b/drivers/usb/gadget/fsl_udc_core.c
@@ -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
@@ -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;
OpenPOWER on IntegriCloud