usb:g_dnl:f_thor: remove memset before memcpy
authorJeroen Hofstee <jeroen@myspectrum.nl>
Mon, 9 Jun 2014 13:28:58 +0000 (15:28 +0200)
committerMarek Vasut <marex@denx.de>
Wed, 25 Jun 2014 20:42:40 +0000 (22:42 +0200)
commit19a2a67fa27ac5bf50808bbded5c19279c7d86e5
tree1e5067d55b8bee7d38e943278fda36bf0281b4ae
parent933611f7bbeb1b29218dca74cf1acfa910006cef
usb:g_dnl:f_thor: remove memset before memcpy

since ALLOC_CACHE_ALIGN_BUFFER defines a pointer and not a
buffer, the memset with sizeof(rqt) likely does something else
then intended. Since there is a memcpy directly after it with
the full size, drop the memset completely.

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