From: Eric Engestrom Date: Fri, 5 Jan 2018 14:57:59 +0000 (+0000) Subject: xf86drmHash: remove always-false #if guards X-Git-Tag: libdrm-2.4.90~21 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7797751cf7bbbcffdb1003f3a38479388dc4d7f9;p=platform%2Fupstream%2Flibdrm.git xf86drmHash: remove always-false #if guards Signed-off-by: Eric Engestrom Reviewed-by: Emil Velikov Reviewed-by: Dylan Baker --- diff --git a/xf86drmHash.c b/xf86drmHash.c index f287e61..b2fa414 100644 --- a/xf86drmHash.c +++ b/xf86drmHash.c @@ -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 */ }