Skip to content

Commit d643510

Browse files
committed
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: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
1 parent e7c98dc commit d643510

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

‎drivers/usb/gadget/m66592-udc.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1668,8 +1668,8 @@ static int __init m66592_probe(struct platform_device *pdev)
16681668
#if defined(CONFIG_SUPERH_BUILT_IN_M66592) && defined(CONFIG_HAVE_CLK)
16691669
clk_disable(m66592->clk);
16701670
clk_put(m66592->clk);
1671-
#endif
16721671
clean_up2:
1672+
#endif
16731673
free_irq(irq, m66592);
16741674
clean_up:
16751675
if (m66592) {

‎drivers/usb/host/r8a66597-hcd.c‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2396,9 +2396,8 @@ static int __init r8a66597_probe(struct platform_device *pdev)
23962396
clean_up3:
23972397
#if defined(CONFIG_SUPERH_ON_CHIP_R8A66597) && defined(CONFIG_HAVE_CLK)
23982398
clk_put(r8a66597->clk);
2399-
#endif
2400-
24012399
clean_up2:
2400+
#endif
24022401
usb_put_hcd(hcd);
24032402

24042403
clean_up:

0 commit comments

Comments
 (0)