mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-26 11:32:23 -06:00
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>
This commit is contained in:
parent
d5e633fc97
commit
421720c87c
1 changed files with 0 additions and 10 deletions
|
@ -717,16 +717,6 @@ static void qdev_property_add_legacy(DeviceState *dev, Property *prop,
|
||||||
g_free(name);
|
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,
|
void qdev_property_add_static(DeviceState *dev, Property *prop,
|
||||||
Error **errp)
|
Error **errp)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue