qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Optimize user_creatable_add_type error path
@ 2024-02-29  3:37 Zhenzhong Duan
  2024-02-29  3:37 ` [PATCH 1/2] qom/object_interfaces: Remove unnecessary local_err check Zhenzhong Duan
  2024-02-29  3:37 ` [PATCH 2/2] qom/object_interfaces: Remove local_err in user_creatable_add_type Zhenzhong Duan
  0 siblings, 2 replies; 7+ messages in thread
From: Zhenzhong Duan @ 2024-02-29  3:37 UTC (permalink / raw)
  To: qemu-devel; +Cc: pbonzini, berrange, eduardo, chao.p.peng, Zhenzhong Duan

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



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-03-15  9:30 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-29  3:37 [PATCH 0/2] Optimize user_creatable_add_type error path Zhenzhong Duan
2024-02-29  3:37 ` [PATCH 1/2] qom/object_interfaces: Remove unnecessary local_err check Zhenzhong Duan
2024-03-15  8:20   ` Zhao Liu
2024-03-15  9:27     ` Duan, Zhenzhong
2024-02-29  3:37 ` [PATCH 2/2] qom/object_interfaces: Remove local_err in user_creatable_add_type Zhenzhong Duan
2024-03-15  8:30   ` Zhao Liu
2024-03-15  9:29     ` Duan, Zhenzhong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).