projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
162303f
)
usb: gadget: net2280: remove unnecessary initializations
author
Felipe Balbi
<balbi@ti.com>
Tue, 26 Feb 2013 09:15:29 +0000
(11:15 +0200)
committer
Felipe Balbi
<balbi@ti.com>
Mon, 18 Mar 2013 09:17:25 +0000
(11:17 +0200)
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>
drivers/usb/gadget/net2280.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/gadget/net2280.c
b/drivers/usb/gadget/net2280.c
index 2089d9b0058cb23f5dae37029884a8c2ed88e202..6ce25133c14cb0406f23017c2c8d4bab77d5d4ec 100644
(file)
--- a/
drivers/usb/gadget/net2280.c
+++ b/
drivers/usb/gadget/net2280.c
@@
-2710,8
+2710,6
@@
static int net2280_probe (struct pci_dev *pdev, const struct pci_device_id *id)
dev->gadget.max_speed = USB_SPEED_HIGH;
/* the "gadget" abstracts/virtualizes the controller */
- dev->gadget.dev.parent = &pdev->dev;
- dev->gadget.dev.dma_mask = pdev->dev.dma_mask;
dev->gadget.dev.release = gadget_release;
dev->gadget.name = driver_name;