Hi,
This is a simple optimization to user_creatable_add_type error path.
Removed local_err and its check in err path, use *errp instead.
Thanks
Zhenzhong
Zhenzhong Duan (2):
qom/object_interfaces: Remove unnecessary local error check
qom/object_interfaces: Remove local_err in user_creatable_add_type
qom/object_interfaces.c | 20 ++++++++------------
1 file changed, 8 insertions(+), 12 deletions(-)
--
2.34.1