From: Felipe Balbi Date: Tue, 26 Feb 2013 09:20:39 +0000 (+0200) Subject: usb: gadget: pxa27x_udc: remove unnecessary initializations X-Git-Tag: next-20130320~22^2~127 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=b372c9572c4513500f0811371f3bd09616a64eba;p=karo-tx-linux.git usb: gadget: pxa27x_udc: remove unnecessary initializations udc-core now sets dma-related and parent fields for us, we don't need to do it ourselves. Signed-off-by: Felipe Balbi --- diff --git a/drivers/usb/gadget/pxa27x_udc.c b/drivers/usb/gadget/pxa27x_udc.c index 3276a6d278fd..5fda425f263f 100644 --- a/drivers/usb/gadget/pxa27x_udc.c +++ b/drivers/usb/gadget/pxa27x_udc.c @@ -2453,8 +2453,6 @@ static int pxa_udc_probe(struct platform_device *pdev) goto err_map; } - udc->gadget.dev.parent = &pdev->dev; - udc->gadget.dev.dma_mask = NULL; udc->vbus_sensed = 0; the_controller = udc;