From: Tom Rini Date: Mon, 12 Jun 2017 18:43:55 -0400 Subject: [U-Boot] [U-Boot,10/10] rkcommon.c: Drop pointless assignment In-Reply-To: <20170607162847.16971-11-sjg@chromium.org> References: <20170607162847.16971-11-sjg@chromium.org> Message-ID: <20170612224355.GW10782@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, Jun 07, 2017 at 10:28:47AM -0600, Simon Glass wrote: > Assigning a variable to itself is not necessary. Drop this and also add a > check for malloc() failure. > > Signed-off-by: Simon Glass > Reported-by: Coverity (CID: 161418) > Fixes: 111bcc4 (rockchip: mkimage: pad the header to 8-bytes (using a 'nop') for RK3399) Reviewed-by: Tom Rini -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: