Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ae4b9a09 authored by Christophe Fergeau's avatar Christophe Fergeau Committed by Gerd Hoffmann
Browse files

qxl: Remove qxl_bo_init() return value



It's always returning 0, and it's always ignored.

Signed-off-by: default avatarChristophe Fergeau <cfergeau@redhat.com>
Acked-by: default avatarFrediano Ziglio <fziglio@redhat.com>
Message-id: 20161108091209.25568-6-cfergeau@redhat.com
Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
parent b3740e88
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -399,7 +399,7 @@ int qxl_create_monitors_object(struct qxl_device *qdev);
int qxl_destroy_monitors_object(struct qxl_device *qdev);

/* qxl_gem.c */
int qxl_gem_init(struct qxl_device *qdev);
void qxl_gem_init(struct qxl_device *qdev);
void qxl_gem_fini(struct qxl_device *qdev);
int qxl_gem_object_create(struct qxl_device *qdev, int size,
			  int alignment, int initial_domain,
+1 −2
Original line number Diff line number Diff line
@@ -111,10 +111,9 @@ void qxl_gem_object_close(struct drm_gem_object *obj,
{
}

int qxl_gem_init(struct qxl_device *qdev)
void qxl_gem_init(struct qxl_device *qdev)
{
	INIT_LIST_HEAD(&qdev->gem.objects);
	return 0;
}

void qxl_gem_fini(struct qxl_device *qdev)