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

Lukasz Majewski l.majewski at samsung.com
Wed Feb 5 10:10:46 CET 2014


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

Signed-off-by: Lukasz Majewski <l.majewski at samsung.com>
Cc: Marek Vasut <marex at denx.de>

---
Changes for v2:
- Remove Change-id:
---
 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