Message ID | 20191201111531.1136947-3-marcandre.lureau@redhat.com |
---|---|
State | New |
Headers | show |
Series | Make QDev use class properties | expand |
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
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) {
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(-)