[02/26] qdev: remove duplicated qdev_property_add_static() doc
diff mbox series

Message ID 20191201111531.1136947-3-marcandre.lureau@redhat.com
State New
Headers show
Series
  • Make QDev use class properties
Related show

Commit Message

Marc-André Lureau Dec. 1, 2019, 11:15 a.m. UTC
The function is already documented in the header.

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

Comments

Damien Hedde Dec. 11, 2019, 3:42 p.m. UTC | #1
On 12/1/19 12:15 PM, Marc-André Lureau wrote:
> The function is already documented in the header.
> 
> Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
> ---
>  hw/core/qdev.c | 10 ----------
>  1 file changed, 10 deletions(-)
> 
> diff --git a/hw/core/qdev.c b/hw/core/qdev.c
> index c7b3f0dec5..8b93b85727 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)
>  {
> 

Reviewed-by: Damien Hedde <damien.hedde@greensocs.com>

Regards,
--
Damien

Patch
diff mbox series

diff --git a/hw/core/qdev.c b/hw/core/qdev.c
index c7b3f0dec5..8b93b85727 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)
 {