* [Qemu-devel] [PATCH] wm8750: remove unused wm8750_fini
@ 2008-04-19 20:05 Jan Kiszka
0 siblings, 0 replies; only message in thread
From: Jan Kiszka @ 2008-04-19 20:05 UTC (permalink / raw)
To: qemu-devel
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)
{
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-04-19 20:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-19 20:05 [Qemu-devel] [PATCH] wm8750: remove unused wm8750_fini Jan Kiszka
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).