diff options
| author | Anthony Liguori <aliguori@us.ibm.com> | 2011-12-22 15:29:25 -0600 |
|---|---|---|
| committer | Anthony Liguori <aliguori@us.ibm.com> | 2012-02-03 10:41:08 -0600 |
| commit | 0beb4942071e385c16deba03848898865842edc7 (patch) | |
| tree | ec52218b7cfa3db09db0afc8317a0cc1d4e5ebaf /hw/qdev.c | |
| parent | ee46d8a5038d06babb6cfb0a177727d85df9b3fc (diff) | |
| download | focaccia-qemu-0beb4942071e385c16deba03848898865842edc7.tar.gz focaccia-qemu-0beb4942071e385c16deba03848898865842edc7.zip | |
qdev: nuke qdev_init_chardev()
I'm sure the intentions were good here, but there's no reason this should be in qdev. Move it to qemu-char where it belongs. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/qdev.c')
| -rw-r--r-- | hw/qdev.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/hw/qdev.c b/hw/qdev.c index e82165d738..0692a21fbd 100644 --- a/hw/qdev.c +++ b/hw/qdev.c @@ -336,15 +336,6 @@ bool qdev_machine_modified(void) return qdev_hot_added || qdev_hot_removed; } -/* Get a character (serial) device interface. */ -CharDriverState *qdev_init_chardev(DeviceState *dev) -{ - static int next_serial; - - /* FIXME: This function needs to go away: use chardev properties! */ - return serial_hds[next_serial++]; -} - BusState *qdev_get_parent_bus(DeviceState *dev) { return dev->parent_bus; |