]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: make virNetDevVPortProfileFormat() void
authorAlexandra Diupina <adiupina@astralinux.ru>
Wed, 17 Jan 2024 16:04:58 +0000 (19:04 +0300)
committerMartin Kletzander <mkletzan@redhat.com>
Wed, 24 Jan 2024 09:06:09 +0000 (10:06 +0100)
commitab9da5c4abe3a53a883ee4a1e93561237bd0aa68
tree032697bcbc06401888348799cb3315381cb992fe
parent20e13e3bdc6bd03e02a4c1129c4ea1db0ad1fcd4
conf: make virNetDevVPortProfileFormat() void

Since commit 4af3cbafdd0e the function always returns 0, so it is
possible to make this function void and remove return value checks.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

Signed-off-by: Alexandra Diupina <adiupina@astralinux.ru>
src/conf/domain_conf.c
src/conf/netdev_vport_profile_conf.c
src/conf/netdev_vport_profile_conf.h
src/conf/network_conf.c
src/conf/virnetworkportdef.c