From: Christophe Fergeau <cfergeau@redhat.com>
To: spice-devel@lists.freedesktop.org
Cc: airlied@redhat.com, dri-devel@lists.freedesktop.org
Subject: [drm/qxl v3 5/7] qxl: Remove qxl_bo_init() return value
Date: Mon, 7 Nov 2016 09:01:01 +0100 [thread overview]
Message-ID: <20161107080103.22299-6-cfergeau@redhat.com> (raw)
In-Reply-To: <20161107080103.22299-1-cfergeau@redhat.com>
It's always returning 0, and it's always ignored.
---
drivers/gpu/drm/qxl/qxl_drv.h | 2 +-
drivers/gpu/drm/qxl/qxl_gem.c | 3 +--
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/gpu/drm/qxl/qxl_drv.h b/drivers/gpu/drm/qxl/qxl_drv.h
index 5a4720a..feac7e6 100644
--- a/drivers/gpu/drm/qxl/qxl_drv.h
+++ b/drivers/gpu/drm/qxl/qxl_drv.h
@@ -398,7 +398,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,
diff --git a/drivers/gpu/drm/qxl/qxl_gem.c b/drivers/gpu/drm/qxl/qxl_gem.c
index d9746e9..3f185c4 100644
--- a/drivers/gpu/drm/qxl/qxl_gem.c
+++ b/drivers/gpu/drm/qxl/qxl_gem.c
@@ -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)
--
2.9.3
_______________________________________________
Spice-devel mailing list
Spice-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/spice-devel
next prev parent reply other threads:[~2016-11-07 8:01 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-07 8:00 [drm/qxl v3 0/7] qxl: Various cleanups/fixes Christophe Fergeau
2016-11-07 8:00 ` [drm/qxl v3 1/7] qxl: Mark some internal functions as static Christophe Fergeau
2016-11-07 8:00 ` [drm/qxl v3 2/7] qxl: Remove unused prototype Christophe Fergeau
2016-11-07 8:00 ` [drm/qxl v3 3/7] qxl: Add missing '\n' to qxl_io_log() call Christophe Fergeau
2016-11-07 8:01 ` [drm/qxl v3 4/7] qxl: Call qxl_gem_{init,fini} Christophe Fergeau
2016-11-07 8:01 ` Christophe Fergeau [this message]
2016-11-07 8:57 ` [drm/qxl v3 5/7] qxl: Remove qxl_bo_init() return value Frediano Ziglio
2016-11-07 8:01 ` [drm/qxl v3 6/7] qxl: Don't notify userspace when monitors config is unchanged Christophe Fergeau
2016-11-07 9:08 ` [Spice-devel] " Frediano Ziglio
2016-11-07 9:17 ` Christophe Fergeau
2016-11-07 8:01 ` [drm/qxl v3 7/7] qxl: Allow resolution which are not multiple of 8 Christophe Fergeau
2016-11-07 9:15 ` [drm/qxl v3 0/7] qxl: Various cleanups/fixes Gerd Hoffmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20161107080103.22299-6-cfergeau@redhat.com \
--to=cfergeau@redhat.com \
--cc=airlied@redhat.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=spice-devel@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox