diff options
Diffstat (limited to 'usb/usb-imx21-hcd-remove-unused-variable.patch')
| -rw-r--r-- | usb/usb-imx21-hcd-remove-unused-variable.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/usb/usb-imx21-hcd-remove-unused-variable.patch b/usb/usb-imx21-hcd-remove-unused-variable.patch new file mode 100644 index 00000000000000..ff2eec74d19a35 --- /dev/null +++ b/usb/usb-imx21-hcd-remove-unused-variable.patch @@ -0,0 +1,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); |
