commit | 28f65708a57395799781f5c44863b50f99facbf2 | [log] [tgz] |
---|---|---|
author | Yaowei Bai <bywxiaobai@163.com> | Mon Nov 09 14:58:58 2015 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Mon Nov 09 15:11:24 2015 -0800 |
tree | c4a1e95fa1ba0a1295648e1143072827bbc6404c | |
parent | 3cc5d9a905826e835d4d4dcd0faf922ab7b9eaf9 [diff] |
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>