aboutsummaryrefslogtreecommitdiffstats
path: root/fs/afs
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2022-05-19 08:40:12 +0100
committerDavid Howells <dhowells@redhat.com>2022-06-10 20:55:21 +0100
commit102d841055be8e6e4e24d58917ffc04958262c4d (patch)
tree0eb5f9e72cb87da978cc084fadcd80852ed80c6e /fs/afs
parentaa3398fb4b3f67d89688976098ad93721b6d7852 (diff)
downloadlinux-102d841055be8e6e4e24d58917ffc04958262c4d.tar.gz
afs: Fix some checker issues
Remove an unused global variable and make another static as reported by make C=1. Signed-off-by: David Howells <dhowells@redhat.com> cc: linux-afs@lists.infradead.org
Diffstat (limited to 'fs/afs')
-rw-r--r--fs/afs/volume.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/afs/volume.c b/fs/afs/volume.c
index 94a3d247924bc..cc665cef0abe4 100644
--- a/fs/afs/volume.c
+++ b/fs/afs/volume.c
@@ -9,8 +9,7 @@
#include <linux/slab.h>
#include "internal.h"
-unsigned __read_mostly afs_volume_gc_delay = 10;
-unsigned __read_mostly afs_volume_record_life = 60 * 60;
+static unsigned __read_mostly afs_volume_record_life = 60 * 60;
/*
* Insert a volume into a cell. If there's an existing volume record, that is