Re: [U-Boot] [PATCH 1/1] yaffs2: remove redundant condition

2017-04-15 Thread Tom Rini
On Sat, Apr 15, 2017 at 01:28:13PM +0200, Heinrich Schuchardt wrote: > If !parent, the changed line is not reached. > So there is no need to check the value again. > > Signed-off-by: Heinrich Schuchardt Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature _

[U-Boot] [PATCH 1/1] yaffs2: remove redundant condition

2017-04-15 Thread Heinrich Schuchardt
If !parent, the changed line is not reached. So there is no need to check the value again. Signed-off-by: Heinrich Schuchardt --- fs/yaffs2/yaffsfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/yaffs2/yaffsfs.c b/fs/yaffs2/yaffsfs.c index 41e5f0108c..ba76a5ccdb 100644