[PATCH] qom/object: simplify type_initialize_interface()

2020-05-12 Thread Masahiro Yamada
iface_impl->class is the same as new_iface. Make it more readable. Signed-off-by: Masahiro Yamada --- qom/object.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/qom/object.c b/qom/object.c index 9d1a918e42..75c628591d 100644 --- a/qom/object.c +++ b/qom/object.c @@ -262,

Re: [PATCH] qom/object: simplify type_initialize_interface()

2020-05-21 Thread Paolo Bonzini
On 12/05/20 20:25, Masahiro Yamada wrote: > iface_impl->class is the same as new_iface. Make it more readable. > > Signed-off-by: Masahiro Yamada > --- > > qom/object.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/qom/object.c b/qom/object.c > index 9d1a918e42..75