diff options
author | Huzaifa Sidhpurwala <huzaifas@redhat.com> | 2011-03-02 01:23:00 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-03-02 19:52:29 -0500 |
commit | 2cd5bb29a42f305c5749571c8cd693fbe69cc28d (patch) | |
tree | f64e1655ab211609bfe0cf4f020a906ed7477f06 /drivers/usb/gadget | |
parent | 5af9a6eb376bf7a9da738a56c01206e6d7e4a1b1 (diff) |
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/gadget')
-rw-r--r-- | drivers/usb/gadget/fsl_udc_core.c | 2 |
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) | |||
766 | struct fsl_req *req = container_of(_req, struct fsl_req, req); | 766 | struct fsl_req *req = container_of(_req, struct fsl_req, req); |
767 | struct fsl_udc *udc; | 767 | struct fsl_udc *udc; |
768 | unsigned long flags; | 768 | unsigned long flags; |
769 | int is_iso = 0; | ||
770 | 769 | ||
771 | /* catch various bogus parameters */ | 770 | /* catch various bogus parameters */ |
772 | if (!_req || !req->req.complete || !req->req.buf | 771 | 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 | if (ep->desc->bmAttributes == USB_ENDPOINT_XFER_ISOC) { | 780 | if (ep->desc->bmAttributes == USB_ENDPOINT_XFER_ISOC) { |
782 | if (req->req.length > ep->ep.maxpacket) | 781 | if (req->req.length > ep->ep.maxpacket) |
783 | return -EMSGSIZE; | 782 | return -EMSGSIZE; |
784 | is_iso = 1; | ||
785 | } | 783 | } |
786 | 784 | ||
787 | udc = ep->udc; | 785 | udc = ep->udc; |