st/vega: Remove an invalid sanity check.

Before create_handle returns, obj->handle is 0.  Calling
handle_to_object will fail.
This commit is contained in:
Chia-I Wu 2011-01-30 23:09:42 +08:00
parent 05e5b53128
commit e919dee1ed

View file

@ -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;
}