From: David Howells Date: Thu, 19 May 2022 07:40:12 +0000 (+0100) Subject: afs: Fix some checker issues X-Git-Tag: v6.1-rc5~1085^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=102d841055be8e6e4e24d58917ffc04958262c4d;p=platform%2Fkernel%2Flinux-starfive.git 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 cc: linux-afs@lists.infradead.org --- diff --git a/fs/afs/volume.c b/fs/afs/volume.c index 94a3d247924b..cc665cef0abe 100644 --- a/fs/afs/volume.c +++ b/fs/afs/volume.c @@ -9,8 +9,7 @@ #include #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