aboutsummaryrefslogtreecommitdiff
path: root/hw/core/qdev.c
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2020-01-10 19:30:15 +0400
committerPaolo Bonzini <pbonzini@redhat.com>2020-01-24 20:59:12 +0100
commit421720c87c118ee0b22ca861bb52a418947f3e7e (patch)
tree1e14a0ef1c80f9cd98fda968b2a4ec4dacb5e2c3 /hw/core/qdev.c
parentd5e633fc978bad2266c9b25f55bead7415eb491d (diff)
qdev: remove duplicated qdev_property_add_static() doc
The function is already documented in the header. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-Id: <20200110153039.1379601-3-marcandre.lureau@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/core/qdev.c')
-rw-r--r--hw/core/qdev.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/hw/core/qdev.c b/hw/core/qdev.c
index 58e87d336d..b47dc07c6e 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)
{