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>main
parent
75758d2ccf
commit
7797751cf7
|
@ -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…
Reference in New Issue