mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-24 14:50:11 +01:00
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.
This commit is contained in:
parent
f45305c1aa
commit
4abb65f95c
1 changed files with 0 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue