mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-23 04:34:11 +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:
parent
5280d6083a
commit
60b69a966f
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user