jffs2: remove unnecessary new_valid_dev check
authorYaowei Bai <bywxiaobai@163.com>
Mon, 28 Sep 2015 14:15:38 +0000 (22:15 +0800)
committerBrian Norris <computersforpeace@gmail.com>
Mon, 28 Sep 2015 23:19:16 +0000 (16:19 -0700)
commit1bc81eeeba99ed20b570423c311826811e162e6d
treea20e1c5195007d5912290363b1bf761ea2ede1c4
parent8f5ba31aa565c4efe11cca2b37acbb35c4f143f2
jffs2: remove unnecessary new_valid_dev check

As new_valid_dev always returns 1, so !new_valid_dev check is not
needed, remove it.

Signed-off-by: Yaowei Bai <bywxiaobai@163.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
fs/jffs2/dir.c