Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cacf2d7d authored by YueHaibing's avatar YueHaibing Committed by David Howells
Browse files

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 d2ddc776 ("afs: Overhaul
volume and server record caching and fileserver rotation")

Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
parent f1618073
Loading
Loading
Loading
Loading
+0 −2
Original line number Original line Diff line number Diff line
@@ -12,8 +12,6 @@
unsigned __read_mostly afs_volume_gc_delay = 10;
unsigned __read_mostly afs_volume_gc_delay = 10;
unsigned __read_mostly afs_volume_record_life = 60 * 60;
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.
 * Allocate a volume record and load it up from a vldb record.
 */
 */