diff options
author | Felipe Balbi <balbi@ti.com> | 2013-02-26 09:14:54 (GMT) |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-03-18 09:17:24 (GMT) |
commit | 162303f6d39c94d984d291fa4f13510093356404 (patch) | |
tree | 4048bbe72100e85a73649061891776e9c13d3862 | |
parent | d606b356cd07ffa3daea6dfcbf50fc2cbf4ba9a3 (diff) | |
download | linux-162303f6d39c94d984d291fa4f13510093356404.tar.xz |
usb: gadget: net2272: 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 <balbi@ti.com>
-rw-r--r-- | drivers/usb/gadget/net2272.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/gadget/net2272.c b/drivers/usb/gadget/net2272.c index 78c8bb5..bfb55d3 100644 --- a/drivers/usb/gadget/net2272.c +++ b/drivers/usb/gadget/net2272.c @@ -2235,8 +2235,6 @@ static struct net2272 *net2272_probe_init(struct device *dev, unsigned int irq) ret->gadget.max_speed = USB_SPEED_HIGH; /* the "gadget" abstracts/virtualizes the controller */ - ret->gadget.dev.parent = dev; - ret->gadget.dev.dma_mask = dev->dma_mask; ret->gadget.dev.release = net2272_gadget_release; ret->gadget.name = driver_name; |