intel: Remove gratuitous assert on bo_reference.

This couldn't be triggered except by overflow, since there's an assert
in unreference to catch the usual failure of over-unreferencing.
main
Eric Anholt 2010-11-02 11:19:21 -07:00
parent f45305c1aa
commit 4abb65f95c
1 changed files with 0 additions and 1 deletions

View File

@ -351,7 +351,6 @@ drm_intel_gem_bo_reference(drm_intel_bo *bo)
{
drm_intel_bo_gem *bo_gem = (drm_intel_bo_gem *) bo;
assert(atomic_read(&bo_gem->refcount) > 0);
atomic_inc(&bo_gem->refcount);
}