Simon Glass 22929bec52 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)
2017-06-12 08:38:12 -04:00
..
2017-06-02 10:18:20 -06:00
2017-06-02 10:18:20 -06:00
2017-06-08 20:21:59 -06:00
2017-04-07 11:23:45 +05:30
2016-05-02 18:37:09 -04:00
2016-05-02 18:37:09 -04:00
2016-11-23 23:41:23 -08:00
2017-02-01 09:04:18 +01:00
2016-02-21 11:09:19 +01:00
2015-11-16 17:22:18 -05:00