提交 d6435102 编写于 作者: P Paul Mundt

usb: Fix up sh_mobile usbf clock framework warnings.

drivers/usb/gadget/m66592-udc.c: In function 'm66592_probe':
drivers/usb/gadget/m66592-udc.c:1672: warning: label 'clean_up2' defined but not used
drivers/usb/host/r8a66597-hcd.c: In function 'r8a66597_probe':
drivers/usb/host/r8a66597-hcd.c:2401: warning: label 'clean_up2' defined but not used

Added by commit 985fc7c81c7852f2e104c71cbe913ace683c9e6a ("sh: sh_mobile
usbf clock framework support").
Reported-by: NStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
上级 e7c98dc7
...@@ -1668,8 +1668,8 @@ static int __init m66592_probe(struct platform_device *pdev) ...@@ -1668,8 +1668,8 @@ static int __init m66592_probe(struct platform_device *pdev)
#if defined(CONFIG_SUPERH_BUILT_IN_M66592) && defined(CONFIG_HAVE_CLK) #if defined(CONFIG_SUPERH_BUILT_IN_M66592) && defined(CONFIG_HAVE_CLK)
clk_disable(m66592->clk); clk_disable(m66592->clk);
clk_put(m66592->clk); clk_put(m66592->clk);
#endif
clean_up2: clean_up2:
#endif
free_irq(irq, m66592); free_irq(irq, m66592);
clean_up: clean_up:
if (m66592) { if (m66592) {
......
...@@ -2396,9 +2396,8 @@ static int __init r8a66597_probe(struct platform_device *pdev) ...@@ -2396,9 +2396,8 @@ static int __init r8a66597_probe(struct platform_device *pdev)
clean_up3: clean_up3:
#if defined(CONFIG_SUPERH_ON_CHIP_R8A66597) && defined(CONFIG_HAVE_CLK) #if defined(CONFIG_SUPERH_ON_CHIP_R8A66597) && defined(CONFIG_HAVE_CLK)
clk_put(r8a66597->clk); clk_put(r8a66597->clk);
#endif
clean_up2: clean_up2:
#endif
usb_put_hcd(hcd); usb_put_hcd(hcd);
clean_up: clean_up:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册