commit | 22929bec528f42c1a7fbcd76adeea8daed9ba55c | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Wed Jun 07 10:28:47 2017 -0600 |
committer | Tom Rini <trini@konsulko.com> | Mon Jun 12 08:38:12 2017 -0400 |
tree | 225d5c0349f1e80d86b2058c09a6a0795132cb72 | |
parent | baa7d345fb2a7aaee31af6d77f2a790e89864af6 [diff] |
rkcommon.c: Drop pointless assignment Assigning a variable to itself is not necessary. Drop this and also add a check for malloc() failure. Signed-off-by: Simon Glass <sjg@chromium.org> Reported-by: Coverity (CID: 161418) Fixes: 111bcc4 (rockchip: mkimage: pad the header to 8-bytes (using a 'nop') for RK3399)