drm/qxl: drop ttm_mem_reg arg from qxl_hw_surface_alloc()

Not used, is always NULL.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Acked-by: Noralf Trønnes <noralf@tronnes.org>
Link: http://patchwork.freedesktop.org/patch/msgid/20190118122020.27596-2-kraxel@redhat.com
This commit is contained in:
Gerd Hoffmann
2019-01-18 13:19:58 +01:00
parent e4056bbb67
commit edd38a1e59
3 changed files with 4 additions and 15 deletions

View File

@@ -332,7 +332,7 @@ int qxl_bo_check_id(struct qxl_device *qdev, struct qxl_bo *bo)
if (ret)
return ret;
ret = qxl_hw_surface_alloc(qdev, bo, NULL);
ret = qxl_hw_surface_alloc(qdev, bo);
if (ret)
return ret;
}