提交 60b69a96 编写于 作者: M Mariusz Kozlowski 提交者: Greg Kroah-Hartman

usb: remove redundant memset from amd5536udc

Remove redundant memset() call from udc_pci_probe().  No functional change.
Signed-off-by: NMariusz Kozlowski <m.kozlowski@tuxland.pl>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 5280d608
...@@ -3244,7 +3244,6 @@ static int udc_pci_probe( ...@@ -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) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册