]> git.ipfire.org Git - thirdparty/libvirt.git/commit
libxl_capabilities: Make some functions return void
authorMichal Privoznik <mprivozn@redhat.com>
Mon, 26 May 2025 08:41:00 +0000 (10:41 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 5 Jun 2025 12:08:55 +0000 (14:08 +0200)
commit3588bad8c05e2670b9775972e22c3e1e637da0c4
tree0763b76f78508e75e632428cf4ce1a8dca13b5f4
parent6c15c1e6b20df6832c65e709d1565ba2149174b9
libxl_capabilities: Make some functions return void

Inside of libxlMakeDomainCapabilities() there are some functions
called and basically all of them never return anything but zero
(indicating success). Yet, they are called in a fashion that
suggests otherwise. Turn those functions into void and drop
checks for their retvals.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/libxl/libxl_capabilities.c