Skip to content

Commit

Permalink
usb: remove redundant memset from amd5536udc
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mariusz Kozlowski authored and Greg Kroah-Hartman committed Oct 12, 2007
1 parent 5280d60 commit 60b69a9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/usb/gadget/amd5536udc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 60b69a9

Please sign in to comment.