fs/stat.c: remove unnecessary new_valid_dev() check
authorYaowei Bai <bywxiaobai@163.com>
Mon, 9 Nov 2015 22:58:58 +0000 (14:58 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 9 Nov 2015 23:11:24 +0000 (15:11 -0800)
commit28f65708a57395799781f5c44863b50f99facbf2
treec4a1e95fa1ba0a1295648e1143072827bbc6404c
parent3cc5d9a905826e835d4d4dcd0faf922ab7b9eaf9
fs/stat.c: remove unnecessary new_valid_dev() check

new_valid_dev() always returns 1, so the !new_valid_dev() check is not
needed.  Remove it.

Signed-off-by: Yaowei Bai <bywxiaobai@163.com>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/stat.c