]> git.sur5r.net Git - u-boot/commitdiff
usb:gadget:f_thor: cosmetic: Remove debug memset
authorLukasz Majewski <l.majewski@samsung.com>
Wed, 5 Feb 2014 09:10:46 +0000 (10:10 +0100)
committerMarek Vasut <marex@denx.de>
Thu, 6 Feb 2014 01:22:45 +0000 (02:22 +0100)
Apparently debug memset (with a 0x55 value) has been overlooked in the
f_thor code.

Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
Cc: Marek Vasut <marex@denx.de>
drivers/usb/gadget/f_thor.c

index 780729a20c2b4a5ccd3d870f3820cab519963f2d..f5c0224f21351b1f6a7a307ff132455ab80f431d 100644 (file)
@@ -623,8 +623,6 @@ static struct usb_request *thor_start_ep(struct usb_ep *ep)
        memset(req->buf, 0, req->length);
        req->complete = thor_rx_tx_complete;
 
-       memset(req->buf, 0x55, req->length);
-
        return req;
 }