diff options
author | Jeroen Hofstee <jeroen@myspectrum.nl> | 2014-06-09 15:28:58 +0200 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2014-06-25 22:42:40 +0200 |
commit | 19a2a67fa27ac5bf50808bbded5c19279c7d86e5 (patch) | |
tree | 1e5067d55b8bee7d38e943278fda36bf0281b4ae /drivers/mtd/ubi/upd.c | |
parent | 933611f7bbeb1b29218dca74cf1acfa910006cef (diff) | |
download | u-boot-imx-19a2a67fa27ac5bf50808bbded5c19279c7d86e5.zip u-boot-imx-19a2a67fa27ac5bf50808bbded5c19279c7d86e5.tar.gz u-boot-imx-19a2a67fa27ac5bf50808bbded5c19279c7d86e5.tar.bz2 |
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>
Diffstat (limited to 'drivers/mtd/ubi/upd.c')
0 files changed, 0 insertions, 0 deletions