Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 60b69a96 authored by Mariusz Kozlowski's avatar Mariusz Kozlowski Committed by Greg Kroah-Hartman
Browse files

usb: remove redundant memset from amd5536udc



Remove redundant memset() call from udc_pci_probe().  No functional change.

Signed-off-by: default avatarMariusz Kozlowski <m.kozlowski@tuxland.pl>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 5280d608
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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) {