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: 65294c1f2c
("nfsd: add a new struct file caching facility to nfsd")
Signed-off-by: Mao Wenan <maowenan@huawei.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
This commit is contained in:
parent
cc1ce2f13e
commit
2a67803e13
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue