summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/select/hash.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/select/hash.c b/src/select/hash.c
index 62df88c..2f33877 100644
--- a/src/select/hash.c
+++ b/src/select/hash.c
@@ -240,18 +240,6 @@ css_error css_selector_hash_find(css_selector_hash *hash,
head = &hash->slots[index];
- if (head->sel != NULL) {
- do {
- if (head->sel->data.name == name)
- break;
-
- head = head->next;
- } while (head != NULL);
-
- if (head == NULL)
- head = &empty_slot;
- }
-
(*matched) = (const css_selector **) head;
return CSS_OK;