diff options
author | Jesse Barnes <jesse.barnes@intel.com> | 2007-09-25 16:15:48 -0700 |
---|---|---|
committer | Jesse Barnes <jesse.barnes@intel.com> | 2007-09-25 16:15:48 -0700 |
commit | 5433bbbfde10bed7fbafcd90c64c364546ca724f (patch) | |
tree | 5f49a5caa2629fb751a16b90bd93290256b857e0 /linux-core/drm_bo.c | |
parent | cbcbe80c09bd95485ce8a9b0d86242fedcd7c182 (diff) |
Remove buffer object user list check in drm_bo_destroy_unlocked
In the case of driver allocated buffers, there won't necessarily be a user list
associated with the buffer, so don't bug out on an empty list.
Diffstat (limited to 'linux-core/drm_bo.c')
-rw-r--r-- | linux-core/drm_bo.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/linux-core/drm_bo.c b/linux-core/drm_bo.c index 89062f11..ea93ed16 100644 --- a/linux-core/drm_bo.c +++ b/linux-core/drm_bo.c @@ -417,7 +417,6 @@ static void drm_bo_destroy_locked(struct drm_buffer_object * bo) atomic_dec(&bm->count); - BUG_ON(!list_empty(&bo->base.list)); drm_ctl_free(bo, sizeof(*bo), DRM_MEM_BUFOBJ); return; |