Patchwork [11/12] qdev: kill bogus comment

login
register
mail settings
Submitter Stefan Hajnoczi
Date Oct. 5, 2012, 2 p.m.
Message ID <1349445632-23674-12-git-send-email-stefanha@gmail.com>
Download mbox | patch
Permalink /patch/189502/
State New
Headers show

Comments

Stefan Hajnoczi - Oct. 5, 2012, 2 p.m.
From: Eduardo Habkost <ehabkost@redhat.com>

When the DeviceInfo code was removed, the comment describing
qdev_subclass_init() was left in the code by mistake. Remove it.

Cc: qemu-trivial@nongnu.org
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com>
---
 hw/qdev.c | 1 -
 1 file changed, 1 deletion(-)

Patch

diff --git a/hw/qdev.c b/hw/qdev.c
index b5a52ac..a7270a5 100644
--- a/hw/qdev.c
+++ b/hw/qdev.c
@@ -34,7 +34,6 @@  int qdev_hotplug = 0;
 static bool qdev_hot_added = false;
 static bool qdev_hot_removed = false;
 
-/* Register a new device type.  */
 const VMStateDescription *qdev_get_vmsd(DeviceState *dev)
 {
     DeviceClass *dc = DEVICE_GET_CLASS(dev);