OSDN Git Service
(root)
/
android-x86
/
external-libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75758d2
)
xf86drmHash: remove always-false #if guards
author
Eric Engestrom
<eric.engestrom@imgtec.com>
Fri, 5 Jan 2018 14:57:59 +0000
(14:57 +0000)
committer
Eric Engestrom
<eric.engestrom@imgtec.com>
Wed, 31 Jan 2018 11:22:47 +0000
(11:22 +0000)
Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
xf86drmHash.c
patch
|
blob
|
history
diff --git
a/xf86drmHash.c
b/xf86drmHash.c
index
f287e61
..
b2fa414
100644
(file)
--- 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 */
}