The iterator of list_for_each() is never NULL.
Identified with coccinelle.
Signed-off-by: Heinrich Schuchardt
---
fs/yaffs2/yaffs_guts.c | 4 ++--
fs/yaffs2/yaffsfs.c| 9 +++--
2 files changed, 5 insertions(+), 8 deletions(-)
diff --git a/fs/yaffs2/yaffs_guts.c b/fs/yaffs2/yaffs_guts.c
The iterator variable of list_for_each is never NULL.
Signed-off-by: Heinrich Schuchardt
---
fs/yaffs2/yaffsfs.c | 9 +++--
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/fs/yaffs2/yaffsfs.c b/fs/yaffs2/yaffsfs.c
index ba76a5ccdb..47abc6beda 100644
--- a/fs/yaffs2/yaffsfs.c
++
2 matches
Mail list logo