From e919dee1edd469c174c5c07c95efd4932a674b67 Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Sun, 30 Jan 2011 23:09:42 +0800 Subject: st/vega: Remove an invalid sanity check. Before create_handle returns, obj->handle is 0. Calling handle_to_object will fail. --- src/gallium/state_trackers/vega/handle.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src') diff --git a/src/gallium/state_trackers/vega/handle.c b/src/gallium/state_trackers/vega/handle.c index 5ec4d7121d3..11eedd923ed 100644 --- a/src/gallium/state_trackers/vega/handle.c +++ b/src/gallium/state_trackers/vega/handle.c @@ -81,12 +81,6 @@ create_handle(void *object) { VGHandle h = next_handle++; util_hash_table_set(handle_hash, intptr_to_pointer(h), object); -#if DEBUG - { - void *v = handle_to_object(h); - assert(v == object); - } -#endif return h; } -- cgit v1.2.3