From: YueHaibing Date: Fri, 9 Aug 2019 08:40:37 +0000 (+0800) Subject: afs: remove unused variable 'afs_voltypes' X-Git-Tag: v5.4-rc1~124^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cacf2d7dcf966a57e30f66c0598c88e2b64865a3;p=platform%2Fkernel%2Flinux-rpi.git afs: remove unused variable 'afs_voltypes' fs/afs/volume.c:15:26: warning: afs_voltypes defined but not used [-Wunused-const-variable=] It is not used since commit d2ddc776a458 ("afs: Overhaul volume and server record caching and fileserver rotation") Reported-by: Hulk Robot Signed-off-by: YueHaibing Signed-off-by: David Howells --- diff --git a/fs/afs/volume.c b/fs/afs/volume.c index 1a41430..92ca5e2 100644 --- a/fs/afs/volume.c +++ b/fs/afs/volume.c @@ -12,8 +12,6 @@ unsigned __read_mostly afs_volume_gc_delay = 10; unsigned __read_mostly afs_volume_record_life = 60 * 60; -static const char *const afs_voltypes[] = { "R/W", "R/O", "BAK" }; - /* * Allocate a volume record and load it up from a vldb record. */