2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-23 20:53:53 +08:00

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>
This commit is contained in:
Mariusz Kozlowski 2007-08-10 14:53:37 -07:00 committed by Greg Kroah-Hartman
parent 5280d6083a
commit 60b69a966f

View File

@ -3244,7 +3244,6 @@ static int udc_pci_probe(
retval = -ENOMEM; retval = -ENOMEM;
goto finished; goto finished;
} }
memset(dev, 0, sizeof(struct udc));
/* pci setup */ /* pci setup */
if (pci_enable_device(pdev) < 0) { if (pci_enable_device(pdev) < 0) {