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.
main
Jesse Barnes 2007-09-25 16:15:48 -07:00
parent cbcbe80c09
commit 5433bbbfde
1 changed files with 0 additions and 1 deletions

View File

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