USB: imx21-hcd: remove unused variable
authorMartin Fuzzey <mfuzzey@gmail.com>
Thu, 30 Sep 2010 22:21:38 +0000 (00:21 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 22 Oct 2010 17:22:02 +0000 (10:22 -0700)
Remove a local variable left over from some debugging code.

Signed-off-by: Martin Fuzzey <mfuzzey@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/imx21-hcd.c

index 3e5630369c316ccabaddd137ad9b3abd7598034e..6c0848b66e259f6cb74e0d7e98ee5d43891f7ae0 100644 (file)
@@ -1007,7 +1007,6 @@ static int imx21_hc_urb_enqueue(struct usb_hcd *hcd,
        struct etd_priv *etd;
        int ret;
        unsigned long flags;
-       int new_ep = 0;
 
        dev_vdbg(imx21->dev,
                "enqueue urb=%p ep=%p len=%d "
@@ -1035,7 +1034,6 @@ static int imx21_hc_urb_enqueue(struct usb_hcd *hcd,
                }
                ep->hcpriv = ep_priv;
                ep_priv->ep = ep;
-               new_ep = 1;
        }
 
        ret = usb_hcd_link_urb_to_ep(hcd, urb);