提交 e6da55cb 编写于 作者: M Martin Fuzzey 提交者: Greg Kroah-Hartman

USB: imx21-hcd: remove unused variable

Remove a local variable left over from some debugging code.
Signed-off-by: NMartin Fuzzey <mfuzzey@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 40aed524
...@@ -1007,7 +1007,6 @@ static int imx21_hc_urb_enqueue(struct usb_hcd *hcd, ...@@ -1007,7 +1007,6 @@ static int imx21_hc_urb_enqueue(struct usb_hcd *hcd,
struct etd_priv *etd; struct etd_priv *etd;
int ret; int ret;
unsigned long flags; unsigned long flags;
int new_ep = 0;
dev_vdbg(imx21->dev, dev_vdbg(imx21->dev,
"enqueue urb=%p ep=%p len=%d " "enqueue urb=%p ep=%p len=%d "
...@@ -1035,7 +1034,6 @@ static int imx21_hc_urb_enqueue(struct usb_hcd *hcd, ...@@ -1035,7 +1034,6 @@ static int imx21_hc_urb_enqueue(struct usb_hcd *hcd,
} }
ep->hcpriv = ep_priv; ep->hcpriv = ep_priv;
ep_priv->ep = ep; ep_priv->ep = ep;
new_ep = 1;
} }
ret = usb_hcd_link_urb_to_ep(hcd, urb); ret = usb_hcd_link_urb_to_ep(hcd, urb);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册