[td-255]remove unused functions.

This commit is contained in:
Haojun Liao 2020-08-10 18:43:16 +08:00
parent 98cec99dc1
commit f6712d984a
1 changed files with 0 additions and 17 deletions

View File

@ -88,23 +88,6 @@ static FORCE_INLINE SHashNode *doSearchInEntryList(SHashEntry *pe, const void *k
return pNode;
}
static FORCE_INLINE SHashNode *doSerchPrevInEntryList(SHashEntry *pe, const void *key, size_t keyLen, uint32_t hashVal) {
SHashNode *prev= NULL;
SHashNode *pNode = pe->next;
while (pNode) {
if ((pNode->keyLen == keyLen) && (memcmp(pNode->key, key, keyLen) == 0)) {
assert(pNode->hashVal == hashVal);
break;
}
prev = pNode;
pNode = pNode->next;
}
return prev;
}
/**
* Resize the hash list if the threshold is reached
*