drm/qxl: don't allocate a dma_address array
That seems to be unused. Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: David Airlie <airlied@redhat.com> Link: https://patchwork.freedesktop.org/patch/408787/
This commit is contained in:
parent
8075c3005e
commit
29c9dece56
@ -115,7 +115,7 @@ static struct ttm_tt *qxl_ttm_tt_create(struct ttm_buffer_object *bo,
|
||||
ttm = kzalloc(sizeof(struct ttm_tt), GFP_KERNEL);
|
||||
if (ttm == NULL)
|
||||
return NULL;
|
||||
if (ttm_dma_tt_init(ttm, bo, page_flags, ttm_cached)) {
|
||||
if (ttm_tt_init(ttm, bo, page_flags, ttm_cached)) {
|
||||
kfree(ttm);
|
||||
return NULL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user