yaffs2: iterator variable cannot be NULL
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 8 Mar 2018 21:52:29 +0000 (22:52 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 9 Mar 2018 17:31:06 +0000 (12:31 -0500)
commit428e60e079ba700dad3d883ec12653f1a5cedea6
treebdc41af00ed32aa159baa8c9d8d8b047b2d6574c
parentc9bf43dd9d49c5024a9a361b5168ef664186c22a
yaffs2: iterator variable cannot be NULL

The iterator of list_for_each() is never NULL.

Identified with coccinelle.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
fs/yaffs2/yaffs_guts.c
fs/yaffs2/yaffsfs.c