Skip to content

Commit 2a67803

Browse files
Mao WenanJ. Bruce Fields
authored andcommitted
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: 65294c1 ("nfsd: add a new struct file caching facility to nfsd") Signed-off-by: Mao Wenan <[email protected]> Signed-off-by: J. Bruce Fields <[email protected]>
1 parent cc1ce2f commit 2a67803

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

fs/nfsd/filecache.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -685,8 +685,6 @@ nfsd_file_cache_purge(struct net *net)
685685
void
686686
nfsd_file_cache_shutdown(void)
687687
{
688-
LIST_HEAD(dispose);
689-
690688
set_bit(NFSD_FILE_SHUTDOWN, &nfsd_file_lru_flags);
691689

692690
lease_unregister_notifier(&nfsd_file_lease_notifier);

0 commit comments

Comments
 (0)