afs: Fix some checker issues
authorDavid Howells <dhowells@redhat.com>
Thu, 19 May 2022 07:40:12 +0000 (08:40 +0100)
committerDavid Howells <dhowells@redhat.com>
Fri, 10 Jun 2022 19:55:21 +0000 (20:55 +0100)
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

fs/afs/volume.c

index 94a3d247924bce49a91851f25fae45c9f7c72b84..cc665cef0abe4cd9f8ac91315be1bda91f9b2282 100644 (file)
@@ -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