]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: stop checking for NULL return from virDomainControllerDefNew()
authorLaine Stump <laine@redhat.com>
Wed, 12 Feb 2025 02:08:03 +0000 (21:08 -0500)
committerLaine Stump <laine@redhat.com>
Wed, 5 Mar 2025 21:56:44 +0000 (16:56 -0500)
commitb62ce44a613959381bb7f999e40a9c451a92e72a
treea33ca4a8f982625c7bcb36b6bded39397d7c92ec
parent3d263290df1d62ab290fe14f0c2753f30913af70
conf: stop checking for NULL return from virDomainControllerDefNew()

It can't fail, so the caller doesn't need to check the return.

Signed-off-by: Laine Stump <laine@redhat.com>
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
src/conf/domain_conf.c
src/hyperv/hyperv_driver.c
src/libxl/libxl_conf.c
src/libxl/libxl_driver.c
src/libxl/xen_xl.c