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)
commit6568c731c47bfbb137183f8f745e8168604ea8ab
tree33158c35c01348936cdddc966cfde4aaa79495b5
parentddc6a9de057e0fd0b46ba21d16a50a8d24351ef6
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