diff options
author | Mao Wenan <maowenan@huawei.com> | 2019-11-01 19:40:54 +0800 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2019-11-08 12:32:59 -0500 |
commit | 2a67803e1305b6b829b361e0b2f243aafcddab0b (patch) | |
tree | 0c71a5e99082f7d5c9181e9ecee021b54616a925 /fs | |
parent | cc1ce2f13ea1c13d7f1f322146b01446d9f7ad8b (diff) | |
download | linux-stable-2a67803e1305b6b829b361e0b2f243aafcddab0b.tar.gz linux-stable-2a67803e1305b6b829b361e0b2f243aafcddab0b.tar.bz2 linux-stable-2a67803e1305b6b829b361e0b2f243aafcddab0b.zip |
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: 65294c1f2c5e ("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>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/nfsd/filecache.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/nfsd/filecache.c b/fs/nfsd/filecache.c index ef55e9b1cd4e..32a9bf22ac08 100644 --- a/fs/nfsd/filecache.c +++ b/fs/nfsd/filecache.c @@ -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); |