Commit 4856e5aa authored by Dave Airlie's avatar Dave Airlie
Browse files
parent e46f468f
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -298,8 +298,6 @@ static int ttm_bo_handle_move_mem(struct ttm_buffer_object *bo,
	}

moved:
	bo->evicted = false;

	ctx->bytes_moved += bo->num_pages << PAGE_SHIFT;
	return 0;

@@ -638,9 +636,7 @@ static int ttm_bo_evict(struct ttm_buffer_object *bo,
		if (ret != -ERESTARTSYS)
			pr_err("Buffer eviction failed\n");
		ttm_resource_free(bo, &evict_mem);
		goto out;
	}
	bo->evicted = true;
out:
	return ret;
}
+0 −1
Original line number Diff line number Diff line
@@ -141,7 +141,6 @@ struct ttm_buffer_object {
	struct ttm_resource mem;
	struct file *persistent_swap_storage;
	struct ttm_tt *ttm;
	bool evicted;
	bool deleted;

	/**