summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/imx21-hcd.c
diff options
context:
space:
mode:
authorMartin Fuzzey <mfuzzey@gmail.com>2010-10-01 00:21:38 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2010-10-22 19:22:02 +0200
commite6da55cb0aa36f30168da8c20ceccdc538b054be (patch)
tree64dc82994c09af0de7aaef728480e4766ba439a6 /drivers/usb/host/imx21-hcd.c
parentUSB: usbtest - ensure correct isoc data length (diff)
downloadlinux-e6da55cb0aa36f30168da8c20ceccdc538b054be.tar.xz
linux-e6da55cb0aa36f30168da8c20ceccdc538b054be.zip
USB: imx21-hcd: remove unused variable
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>
Diffstat (limited to 'drivers/usb/host/imx21-hcd.c')
-rw-r--r--drivers/usb/host/imx21-hcd.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/host/imx21-hcd.c b/drivers/usb/host/imx21-hcd.c
index 3e5630369c31..6c0848b66e25 100644
--- a/drivers/usb/host/imx21-hcd.c
+++ b/drivers/usb/host/imx21-hcd.c
@@ -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);