mbox series

[0/2] Optimize user_creatable_add_type error path

Message ID 20240229033739.1123076-1-zhenzhong.duan@intel.com (mailing list archive)
Headers show
Series Optimize user_creatable_add_type error path | expand

Message

Duan, Zhenzhong Feb. 29, 2024, 3:37 a.m. UTC
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(-)