diff mbox

[RFC,01/13] qdev: kill bogus comment

Message ID 1349378133-25644-2-git-send-email-ehabkost@redhat.com
State New
Headers show

Commit Message

Eduardo Habkost Oct. 4, 2012, 7:15 p.m. UTC
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>
---
 hw/qdev.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Stefan Hajnoczi Oct. 5, 2012, 1:49 p.m. UTC | #1
On Thu, Oct 04, 2012 at 04:15:21PM -0300, Eduardo Habkost wrote:
> 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>
> ---
>  hw/qdev.c | 1 -
>  1 file changed, 1 deletion(-)

Thanks, applied to the trivial patches tree:
https://github.com/stefanha/qemu/commits/trivial-patches

Stefan
diff mbox

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);