On 13/05/20 05:36, Masahiro Yamada wrote: > You can omit .instance_size if it is the same as that of the parent. > > .class_size = sizeof(ObjectClass) > > ... is omitted here, so removing .instance_size is more consistent. > > Signed-off-by: Masahiro Yamada <masahi...@kernel.org> > --- > > qom/container.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/qom/container.c b/qom/container.c > index f6ccaf7ea7..4c030d6dda 100644 > --- a/qom/container.c > +++ b/qom/container.c > @@ -16,7 +16,6 @@ > > static const TypeInfo container_info = { > .name = "container", > - .instance_size = sizeof(Object), > .parent = TYPE_OBJECT, > }; > >
Queued, thanks. Paolo