From: Andreas Boll <andreas.boll.dev@gmail.com>
To: dri-devel@lists.freedesktop.org
Cc: Andreas Boll <andreas.boll.dev@gmail.com>
Subject: [PATCH 3/3] radeon: fix unused-function warning
Date: Tue, 28 Aug 2012 18:02:46 +0200 [thread overview]
Message-ID: <1346169766-27462-3-git-send-email-andreas.boll.dev@gmail.com> (raw)
In-Reply-To: <1346169766-27462-1-git-send-email-andreas.boll.dev@gmail.com>
radeon_cs_gem.c:333:13: warning: 'cs_gem_dump_bof' defined but
not used [-Wunused-function]
---
radeon/radeon_cs_gem.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/radeon/radeon_cs_gem.c b/radeon/radeon_cs_gem.c
index 9834bcf..b963140 100644
--- a/radeon/radeon_cs_gem.c
+++ b/radeon/radeon_cs_gem.c
@@ -330,6 +330,7 @@ static int cs_gem_end(struct radeon_cs_int *cs,
return 0;
}
+#if CS_BOF_DUMP
static void cs_gem_dump_bof(struct radeon_cs_int *cs)
{
struct cs_gem *csg = (struct cs_gem*)cs;
@@ -415,6 +416,7 @@ out_err:
bof_decref(device_id);
bof_decref(root);
}
+#endif
static int cs_gem_emit(struct radeon_cs_int *cs)
{
--
1.7.4.1
prev parent reply other threads:[~2012-08-28 16:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-28 16:02 [PATCH 1/3] libdrm: add omap and exynos pkgconfig files to .gitignore Andreas Boll
2012-08-28 16:02 ` [PATCH 2/3] libdrm: add tests/radeon/radeon_ttm " Andreas Boll
2012-08-28 16:02 ` Andreas Boll [this message]
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=1346169766-27462-3-git-send-email-andreas.boll.dev@gmail.com \
--to=andreas.boll.dev@gmail.com \
--cc=dri-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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.