From: Chia-I Wu Date: Sun, 30 Jan 2011 15:09:42 +0000 (+0800) Subject: st/vega: Remove an invalid sanity check. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e919dee1edd469c174c5c07c95efd4932a674b67;p=mesa.git st/vega: Remove an invalid sanity check. Before create_handle returns, obj->handle is 0. Calling handle_to_object will fail. --- 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; }