diff options
author | rwatson <rwatson@FreeBSD.org> | 2008-01-19 19:21:07 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2008-01-19 19:21:07 +0000 |
commit | 829451090274f704d3316e70915df144d0021834 (patch) | |
tree | d474a63e67688f0f23e6c293b8494400da2f59cd /sys/fs/coda | |
parent | 6d3cabaca67f9010aadf6be4c1e6fd9db54fbfa3 (diff) | |
download | FreeBSD-src-829451090274f704d3316e70915df144d0021834.zip FreeBSD-src-829451090274f704d3316e70915df144d0021834.tar.gz |
Remove unused oldhash definition from Coda namecache.
MFC after: 3 days
Diffstat (limited to 'sys/fs/coda')
-rw-r--r-- | sys/fs/coda/coda_namecache.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/fs/coda/coda_namecache.h b/sys/fs/coda/coda_namecache.h index 41442f4..637a0d0 100644 --- a/sys/fs/coda/coda_namecache.h +++ b/sys/fs/coda/coda_namecache.h @@ -63,13 +63,8 @@ * 2nd try -- same, except dir fid.vnode instead of cp */ -#ifdef oldhash -#define CODA_NC_HASH(name, namelen, cp) \ - ((name[0] + name[namelen-1] + namelen + (int)(intptr_t)(cp)) & (coda_nc_hashsize-1)) -#else #define CODA_NC_HASH(name, namelen, cp) \ ((name[0] + (name[namelen-1]<<4) + namelen + (((int)(intptr_t)cp)>>8)) & (coda_nc_hashsize-1)) -#endif #define CODA_NAMEMATCH(cp, name, namelen, dcp) \ ((namelen == cp->namelen) && (dcp == cp->dcp) && \ |