diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-08-09 16:40:37 +0800 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2019-09-02 11:43:54 +0100 |
commit | cacf2d7dcf966a57e30f66c0598c88e2b64865a3 (patch) | |
tree | cab91e56b60156811931e0208501c300fc4a192d /fs | |
parent | f16180739cd18a39a1a45516ac0e65d18a9f100e (diff) |
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 <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/afs/volume.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/afs/volume.c b/fs/afs/volume.c index 1a414300b654..92ca5e27573b 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. */ |