[U-Boot] [PATCH 6/6] usb:gadget:f_thor: cosmetic: Remove debug memset

Lukasz Majewski l.majewski at samsung.com
Fri Jan 31 13:16:29 CET 2014


Apparently debug memset (with a 0x55 value) has been overlooked in the
f_thor code.

Change-Id: I5ecfb1f86d7a0c1abf6738d0bc60908957554410
Signed-off-by: Lukasz Majewski <l.majewski at samsung.com>
Cc: Marek Vasut <marex at denx.de>
---
 drivers/usb/gadget/f_thor.c |    2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/usb/gadget/f_thor.c b/drivers/usb/gadget/f_thor.c
index 780729a..f5c0224 100644
--- a/drivers/usb/gadget/f_thor.c
+++ b/drivers/usb/gadget/f_thor.c
@@ -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;
 }
 
-- 
1.7.10.4



More information about the U-Boot mailing list