Remove unused oldhash definition from Coda namecache.

MFC after:	3 days
This commit is contained in:
Robert Watson 2008-01-19 19:21:07 +00:00
parent 0814af48f7
commit 9440b9f7ea
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=175498

View File

@ -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) && \