diff options
author | Simon Glass <sjg@chromium.org> | 2017-06-07 10:28:47 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-06-12 08:38:12 -0400 |
commit | 22929bec528f42c1a7fbcd76adeea8daed9ba55c (patch) | |
tree | 225d5c0349f1e80d86b2058c09a6a0795132cb72 /drivers/serial/serial_pic32.c | |
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)
Diffstat (limited to 'drivers/serial/serial_pic32.c')
0 files changed, 0 insertions, 0 deletions