Commit 2a67803e authored by Mao Wenan's avatar Mao Wenan Committed by J. Bruce Fields
Browse files

nfsd: Drop LIST_HEAD where the variable it declares is never used.



The declarations were introduced with the file, but the declared
variables were not used.

Fixes: 65294c1f ("nfsd: add a new struct file caching facility to nfsd")
Signed-off-by: default avatarMao Wenan <maowenan@huawei.com>
Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
parent cc1ce2f1
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -685,8 +685,6 @@ nfsd_file_cache_purge(struct net *net)
void
nfsd_file_cache_shutdown(void)
{
	LIST_HEAD(dispose);

	set_bit(NFSD_FILE_SHUTDOWN, &nfsd_file_lru_flags);

	lease_unregister_notifier(&nfsd_file_lease_notifier);