commit | a50856eec63a6836cfb573de1f7dc386a07dd5ee | [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 | c55d5c3dcd145ca82c451968c7c9efcbe0bbacc9 [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)