From: Jan Kiszka <jan.kiszka@web.de>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCH] wm8750: remove unused wm8750_fini
Date: Sat, 19 Apr 2008 22:05:37 +0200 [thread overview]
Message-ID: <480A5091.6040003@web.de> (raw)
It's static, it's unreferenced, and I don't see a use case for it ATM.
Snipe it?
Signed-off-by: Jan Kiszka <jan.kiszka@web.de>
---
hw/wm8750.c | 8 --------
1 file changed, 8 deletions(-)
Index: b/hw/wm8750.c
===================================================================
--- a/hw/wm8750.c
+++ b/hw/wm8750.c
@@ -611,14 +611,6 @@ i2c_slave *wm8750_init(i2c_bus *bus, Aud
return &s->i2c;
}
-static void wm8750_fini(i2c_slave *i2c)
-{
- struct wm8750_s *s = (struct wm8750_s *) i2c;
- wm8750_reset(&s->i2c);
- AUD_remove_card(&s->card);
- qemu_free(s);
-}
-
void wm8750_data_req_set(i2c_slave *i2c,
void (*data_req)(void *, int, int), void *opaque)
{
reply other threads:[~2008-04-19 20:06 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=480A5091.6040003@web.de \
--to=jan.kiszka@web.de \
--cc=qemu-devel@nongnu.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;
as well as URLs for NNTP newsgroup(s).