qxl: Remove unused qxl_bo_pin arguments
The 'domain' argument to qxl_bo_pin is redundant with 'bo', and 'gpu_addr' is unused, so we can remove both. Signed-off-by: Christophe Fergeau <cfergeau@redhat.com> Link: http://patchwork.freedesktop.org/patch/msgid/20181120162004.22807-2-cfergeau@redhat.com Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:

committed by
Gerd Hoffmann

parent
76a57db4a8
commit
545592fb3d
@@ -111,7 +111,7 @@ static int qxlfb_create_pinned_object(struct qxl_device *qdev,
|
||||
qbo->surf.stride = mode_cmd->pitches[0];
|
||||
qbo->surf.format = SPICE_SURFACE_FMT_32_xRGB;
|
||||
|
||||
ret = qxl_bo_pin(qbo, QXL_GEM_DOMAIN_SURFACE, NULL);
|
||||
ret = qxl_bo_pin(qbo);
|
||||
if (ret) {
|
||||
goto out_unref;
|
||||
}
|
||||
|
Reference in New Issue
Block a user