]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
usb: remove redundant memset from amd5536udc
authorMariusz Kozlowski <m.kozlowski@tuxland.pl>
Fri, 10 Aug 2007 21:53:37 +0000 (14:53 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 12 Oct 2007 21:55:16 +0000 (14:55 -0700)
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>
drivers/usb/gadget/amd5536udc.c

index 714156ca8fe470ac4b59210d09d21da4fffb288f..e95ffc9eee3d14eebcd544866b24f9f0fc78c474 100644 (file)
@@ -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) {