qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 02/26] qdev: remove duplicated qdev_property_add_static() doc


From: Marc-André Lureau
Subject: [PATCH 02/26] qdev: remove duplicated qdev_property_add_static() doc
Date: Fri, 10 Jan 2020 19:30:15 +0400

The function is already documented in the header.

Signed-off-by: Marc-André Lureau <address@hidden>
---
 hw/core/qdev.c | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/hw/core/qdev.c b/hw/core/qdev.c
index 9f1753f5cf..48fae0b932 100644
--- a/hw/core/qdev.c
+++ b/hw/core/qdev.c
@@ -717,16 +717,6 @@ static void qdev_property_add_legacy(DeviceState *dev, 
Property *prop,
     g_free(name);
 }
 
-/**
- * qdev_property_add_static:
- * @dev: Device to add the property to.
- * @prop: The qdev property definition.
- * @errp: location to store error information.
- *
- * Add a static QOM property to @dev for qdev property @prop.
- * On error, store error in @errp.  Static properties access data in a struct.
- * The type of the QOM property is derived from prop->info.
- */
 void qdev_property_add_static(DeviceState *dev, Property *prop,
                               Error **errp)
 {
-- 
2.25.0.rc1.20.g2443f3f80d.dirty




reply via email to

[Prev in Thread] Current Thread [Next in Thread]