]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virnetdevmacvlan: Drop G_GNUC_WARN_UNUSED_RESULT annotation for virNetDevMacVLanDelet...
authorMichal Privoznik <mprivozn@redhat.com>
Wed, 1 Feb 2023 12:29:37 +0000 (13:29 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 1 Feb 2023 14:44:20 +0000 (15:44 +0100)
commitc0f671e7c9884bc332456f3008501b39be069b22
tree4c728702325e18fe3a608e3165a49c8b45d4074a
parent714af1a50cd05c17d7ecb1d31016586b1a4a6e1d
virnetdevmacvlan: Drop G_GNUC_WARN_UNUSED_RESULT annotation for virNetDevMacVLanDeleteWithVPortProfile()

Every single caller of the
virNetDevMacVLanDeleteWithVPortProfile() function is calling it
wrapped inside of ignore_value() macro. This is because the
function is annotated as G_GNUC_WARN_UNUSED_RESULT. This makes no
sense. Drop the annotation and the macro envelope.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_hotplug.c
src/qemu/qemu_process.c
src/util/virnetdevmacvlan.h