Re: [PATCH 087/100] usb: dwc3: gadget: remove unnecessary initializations

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

 



Hi,

On Tue, Feb 26, 2013 at 11:34:49AM +0200, Felipe Balbi wrote:
> udc-core now sets dma-related and parent fields
> for us, we don't need to do it ourselves.
> 
> Signed-off-by: Felipe Balbi <balbi@xxxxxx>
> ---
>  drivers/usb/dwc3/gadget.c | 5 -----
>  1 file changed, 5 deletions(-)
> 
> diff --git a/drivers/usb/dwc3/gadget.c b/drivers/usb/dwc3/gadget.c
> index 6e168df..0e05485 100644
> --- a/drivers/usb/dwc3/gadget.c
> +++ b/drivers/usb/dwc3/gadget.c
> @@ -2571,11 +2571,6 @@ int dwc3_gadget_init(struct dwc3 *dwc)
>  	dwc->gadget.speed		= USB_SPEED_UNKNOWN;
>  	dwc->gadget.dev.parent		= dwc->dev;

just realized I forgot to remove parent assignment here. Fixed in my
testing branch, no need to resend though, I guess.

-- 
balbi

Attachment: signature.asc
Description: Digital signature


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

  Powered by Linux