aboutsummaryrefslogtreecommitdiffstats
path: root/usb/usb-imx21-hcd-remove-unused-variable.patch
blob: ff2eec74d19a350012ae31a5f17bd01784eb6ce0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
From mfuzzey@gmail.com  Tue Oct  5 15:54:25 2010
From: Martin Fuzzey <mfuzzey@gmail.com>
Subject: USB: imx21-hcd: remove unused variable
To: Greg KH <greg@kroah.com>, linux-usb@vger.kernel.org
Date: Fri, 01 Oct 2010 00:21:38 +0200
Message-ID: <20100930222138.15137.95743.stgit@srv002.fuzzey.net>

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 |    2 --
 1 file changed, 2 deletions(-)

--- 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 u
 	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 u
 		}
 		ep->hcpriv = ep_priv;
 		ep_priv->ep = ep;
-		new_ep = 1;
 	}
 
 	ret = usb_hcd_link_urb_to_ep(hcd, urb);