/kernel/trunk/generic/src/adt/hash_table.c |
---|
106,10 → 106,6 |
chain = h->op->hash(key); |
ASSERT(chain < h->entries); |
/* |
* The hash table is not redundant. |
* Check if the keys are not in place already. |
*/ |
for (cur = h->entry[chain].next; cur != &h->entry[chain]; cur = cur->next) { |
if (h->op->compare(key, h->max_keys, cur)) { |
/* |