mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-25 01:20:11 +01:00
xf86drmHash: remove always-false #if guards
Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com> Reviewed-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
This commit is contained in:
parent
75758d2ccf
commit
7797751cf7
1 changed files with 0 additions and 6 deletions
|
|
@ -98,9 +98,6 @@ static unsigned long HashHash(unsigned long key)
|
|||
}
|
||||
|
||||
hash %= HASH_SIZE;
|
||||
#if DEBUG
|
||||
printf( "Hash(%lu) = %lu\n", key, hash);
|
||||
#endif
|
||||
return hash;
|
||||
}
|
||||
|
||||
|
|
@ -201,9 +198,6 @@ int drmHashInsert(void *t, unsigned long key, void *value)
|
|||
bucket->value = value;
|
||||
bucket->next = table->buckets[hash];
|
||||
table->buckets[hash] = bucket;
|
||||
#if DEBUG
|
||||
printf("Inserted %lu at %lu/%p\n", key, hash, bucket);
|
||||
#endif
|
||||
return 0; /* Added to table */
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue