]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - drivers/gpu/drm/ttm/ttm_execbuf_util.c
Merge branches 'pm-core', 'pm-qos', 'pm-domains' and 'pm-opp'
[linux.git] / drivers / gpu / drm / ttm / ttm_execbuf_util.c
index d35bc491e8debe3c5f90f6c9af3e1588c6bfab70..5e1bcabffef56abb33262fe8ea94efa4416c9612 100644 (file)
@@ -48,9 +48,7 @@ static void ttm_eu_del_from_lru_locked(struct list_head *list)
 
        list_for_each_entry(entry, list, head) {
                struct ttm_buffer_object *bo = entry->bo;
-               unsigned put_count = ttm_bo_del_from_lru(bo);
-
-               ttm_bo_list_ref_sub(bo, put_count, true);
+               ttm_bo_del_from_lru(bo);
        }
 }