mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-03-30 02:45:55 +00:00
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
1 changed files with 0 additions and 2 deletions
|
@ -685,8 +685,6 @@ nfsd_file_cache_purge(struct net *net)
|
||||||
void
|
void
|
||||||
nfsd_file_cache_shutdown(void)
|
nfsd_file_cache_shutdown(void)
|
||||||
{
|
{
|
||||||
LIST_HEAD(dispose);
|
|
||||||
|
|
||||||
set_bit(NFSD_FILE_SHUTDOWN, &nfsd_file_lru_flags);
|
set_bit(NFSD_FILE_SHUTDOWN, &nfsd_file_lru_flags);
|
||||||
|
|
||||||
lease_unregister_notifier(&nfsd_file_lease_notifier);
|
lease_unregister_notifier(&nfsd_file_lease_notifier);
|
||||||
|
|
Loading…
Add table
Reference in a new issue