Re: [PATCH 1/2] usb: r8a66597-udc: fix for udc-newstyle

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

2011/11/08 20:34, Felipe Balbi wrote:
> 
> this adds a compile warning:
> 
> drivers/usb/gadget/r8a66597-udc.c: In function ‘r8a66597_probe’:
> drivers/usb/gadget/r8a66597-udc.c:2006:1: warning: label ‘clean_up_dev’ defined but not used [-Wunused-label]
> 
> please check if below is acceptable:

Thank you very much for your patch.
Your patch is good to fix a compile warning.

Acked-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@xxxxxxxxxxx>

Thanks,
Yoshihiro Shimoda

> diff --git a/drivers/usb/gadget/r8a66597-udc.c b/drivers/usb/gadget/r8a66597-udc.c
> index 44c3e5e..38f9988 100644
> --- a/drivers/usb/gadget/r8a66597-udc.c
> +++ b/drivers/usb/gadget/r8a66597-udc.c
> @@ -2002,8 +2002,8 @@ clean_up2:
>  		clk_disable(r8a66597->clk);
>  		clk_put(r8a66597->clk);
>  	}
> -#endif
>  clean_up_dev:
> +#endif
>  	device_unregister(&r8a66597->gadget.dev);
>  clean_up:
>  	if (r8a66597) {
> 

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux