From: Tom Rini Date: Tue, 21 Nov 2017 08:05:42 -0500 Subject: [U-Boot] [U-Boot,v2,1/1] yaffs2: rework yaffs_new_obj_id In-Reply-To: <20171109002643.6712-1-xypron.glpk@gmx.de> References: <20171109002643.6712-1-xypron.glpk@gmx.de> Message-ID: <20171121130542.GD10194@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 Thu, Nov 09, 2017 at 01:26:43AM +0100, Heinrich Schuchardt wrote: > The iterator variable of list_for_each is never NULL. > if (1 || A) is always true. > Use break if entry found. > > Signed-off-by: Heinrich Schuchardt Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: