knfsd: Remove dead code from nfsd_cache_lookup
authorTrond Myklebust <trondmy@gmail.com>
Mon, 1 Oct 2018 14:41:54 +0000 (10:41 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Mon, 29 Oct 2018 20:58:04 +0000 (16:58 -0400)
commit3e87da5145fc25e18fb934eb496f4e7c4d038e71
tree1fd189fba3a2eecb889f8f334b7becdbcde9075f
parent4c8e5537bb28f0e4b2ca60ecb0ca1ea12b82adf6
knfsd: Remove dead code from nfsd_cache_lookup

The preallocated cache entry is always set to type RC_NOCACHE, and that
type isn't changed until we later call nfsd_cache_update().

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfscache.c