From 6419d241866af95942d285b2e07dd510a43086f6 Mon Sep 17 00:00:00 2001 From: Benjamin Kaduk Date: Mon, 12 Jan 2015 17:48:25 -0500 Subject: [PATCH 1/1] afs: Remove unused constant DCSIZE The size of the dcache hash table is automatically determined from the size of the vcache hash table size, since even before the initial OpenAFS 1.0 release. AFS 3.3 had constants DCHASHSIZE and DVHASHSIZE which were used to size the respective hash tables, but DCSIZE was unused even there. Change-Id: I1f4e278eacb881b60a457fa9871225de7ce0f9f8 Reviewed-on: http://gerrit.openafs.org/11672 Tested-by: BuildBot Reviewed-by: Perry Ruiter Reviewed-by: Jeffrey Altman --- src/afs/afs.h | 1 - 1 file changed, 1 deletion(-) diff --git a/src/afs/afs.h b/src/afs/afs.h index 7e4f653..2e2799c 100644 --- a/src/afs/afs.h +++ b/src/afs/afs.h @@ -83,7 +83,6 @@ extern int afs_shuttingdown; #define NVOLS 64 /* hash table size for volume table */ #define NFENTRIES 256 /* hash table size for disk volume table */ #define VCSIZE 1024 /* stat cache hash table size */ -#define DCSIZE 512 /* disk cache hash table size */ #define CBRSIZE 512 /* call back returns hash table size */ #define PIGGYSIZE 1350 /* max piggyback size */ #define MAXVOLS 128 /* max vols we can store */ -- 1.9.4