projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5280d60
)
usb: remove redundant memset from amd5536udc
author
Mariusz Kozlowski
<m.kozlowski@tuxland.pl>
Fri, 10 Aug 2007 21:53:37 +0000
(14:53 -0700)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Fri, 12 Oct 2007 21:55:16 +0000
(14:55 -0700)
Remove redundant memset() call from udc_pci_probe(). No functional change.
Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/amd5536udc.c
patch
|
blob
|
history
diff --git
a/drivers/usb/gadget/amd5536udc.c
b/drivers/usb/gadget/amd5536udc.c
index 714156ca8fe470ac4b59210d09d21da4fffb288f..e95ffc9eee3d14eebcd544866b24f9f0fc78c474 100644
(file)
--- a/
drivers/usb/gadget/amd5536udc.c
+++ b/
drivers/usb/gadget/amd5536udc.c
@@
-3244,7
+3244,6
@@
static int udc_pci_probe(
retval = -ENOMEM;
goto finished;
}
- memset(dev, 0, sizeof(struct udc));
/* pci setup */
if (pci_enable_device(pdev) < 0) {