diff options
author | Mariusz Kozlowski <m.kozlowski@tuxland.pl> | 2007-08-11 01:53:37 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-10-13 01:55:16 +0400 |
commit | 60b69a966fddeb3bdd79712d52b34b8696a27f88 (patch) | |
tree | 49a326d159b2c6e6b657058d50673b2616568a45 /drivers/usb/gadget/amd5536udc.c | |
parent | 5280d6083a77cc06a8c8360a2c461fd12d780fb8 (diff) | |
download | linux-60b69a966fddeb3bdd79712d52b34b8696a27f88.tar.xz |
usb: remove redundant memset from amd5536udc
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>
Diffstat (limited to 'drivers/usb/gadget/amd5536udc.c')
-rw-r--r-- | drivers/usb/gadget/amd5536udc.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/gadget/amd5536udc.c b/drivers/usb/gadget/amd5536udc.c index 714156ca8fe4..e95ffc9eee3d 100644 --- 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) { |