Hello,

        This patch removes redundant memset() call
from udc_pci_probe(). No functional change.

Signed-off-by: Mariusz Kozlowski <[EMAIL PROTECTED]>

 drivers/usb/gadget/amd5536udc.c | 86768 -> 86731 (-37 bytes)
 drivers/usb/gadget/amd5536udc.o | 187342 -> 187066 (-276 bytes)

 drivers/usb/gadget/amd5536udc.c |    1 -
 1 file changed, 1 deletion(-)

--- linux-2.6.23-rc1-mm1-a/drivers/usb/gadget/amd5536udc.c      2007-07-26 
13:07:41.000000000 +0200
+++ linux-2.6.23-rc1-mm1-b/drivers/usb/gadget/amd5536udc.c      2007-07-27 
17:25:04.000000000 +0200
@@ -3242,11 +3242,10 @@ static int udc_pci_probe(
        dev = kzalloc(sizeof(struct udc), GFP_KERNEL);
        if (!dev) {
                retval = -ENOMEM;
                goto finished;
        }
-       memset(dev, 0, sizeof(struct udc));

        /* pci setup */
        if (pci_enable_device(pdev) < 0) {
                retval = -ENODEV;
                goto finished;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to