diff options
author | Joe Hershberger <joe.hershberger@ni.com> | 2012-10-03 09:38:47 +0000 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2012-10-15 11:54:05 -0700 |
commit | 62a34a04e7259ea1562749de3b0e35e94386b37b (patch) | |
tree | b08a3e91a7a7b2a103b8f05dccf79f0195eea54b /include/usb | |
parent | 497f2053f8cdd5df412e8dd01db525eb04201ebb (diff) | |
download | u-boot-imx-62a34a04e7259ea1562749de3b0e35e94386b37b.zip u-boot-imx-62a34a04e7259ea1562749de3b0e35e94386b37b.tar.gz u-boot-imx-62a34a04e7259ea1562749de3b0e35e94386b37b.tar.bz2 |
tools/env: Remove unneeded complexity
The length included the name length, and then it was subtracted back
out on each use. Now we don't include it in the first place. Also
realloc as we process arguments and eliminate memset. Use memcpy
instead of manually copying each byte.
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'include/usb')
0 files changed, 0 insertions, 0 deletions