summaryrefslogtreecommitdiff
path: root/linux-core
diff options
context:
space:
mode:
authorJesse Barnes <jesse.barnes@intel.com>2007-09-25 16:15:48 -0700
committerJesse Barnes <jesse.barnes@intel.com>2007-09-25 16:15:48 -0700
commit5433bbbfde10bed7fbafcd90c64c364546ca724f (patch)
tree5f49a5caa2629fb751a16b90bd93290256b857e0 /linux-core
parentcbcbe80c09bd95485ce8a9b0d86242fedcd7c182 (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')
-rw-r--r--linux-core/drm_bo.c1
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;