]> git.baikalelectronics.ru Git - uboot.git/commit
yaffs2: remove redundant condition
authorxypron.glpk@gmx.de <xypron.glpk@gmx.de>
Sat, 15 Apr 2017 11:28:13 +0000 (13:28 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 18 Apr 2017 14:29:22 +0000 (10:29 -0400)
commit880255c55d95fe90d38816fff947c70698dc831f
tree33158c35c01348936cdddc966cfde4aaa79495b5
parent0f1ea84c1e8eb3f8108b011b1855717de6ba7c1c
yaffs2: remove redundant condition

If !parent, the changed line is not reached.
So there is no need to check the value again.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Tom Rini <trini@konsulko.com>
fs/yaffs2/yaffsfs.c