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

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
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment