]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
fs/ncpfs/dir.c: remove unnecessary new_valid_dev() check
authorYaowei Bai <bywxiaobai@163.com>
Mon, 9 Nov 2015 22:58:50 +0000 (14:58 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 9 Nov 2015 23:11:24 +0000 (15:11 -0800)
commit4467e29f0c48d0fc3e164c39c1eccd1ce230fbe4
treea58741c84536d17ba5ac0ef7871753b86dda8aeb
parenta2a17044094d0816d56a9e151bbf146d89a23010
fs/ncpfs/dir.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>
Cc: Petr Vandrovec <petr@vandrovec.name>
Cc: Jan Kara <jack@suse.cz>
Cc: Jens Axboe <axboe@fb.com>
Cc: Tejun Heo <tj@kernel.org>
Cc: Fabian Frederick <fabf@skynet.be>
Cc: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/ncpfs/dir.c