]> xenbits.xensource.com Git - libvirt.git/commit
util: virpcivpd: Remove return value from virPCIVPDResourceCustomUpsertValue
authorPeter Krempa <pkrempa@redhat.com>
Wed, 24 Jan 2024 15:11:24 +0000 (16:11 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 31 Jan 2024 16:24:07 +0000 (17:24 +0100)
commitd36da8ea4a107d129bdc701f95b1b131bc3df01d
tree46d17ecac0ab1d90d9f1a348e542089025e90f9d
parentab3f4d1b0b9f29c924e928f8c6663b4076e49b38
util: virpcivpd: Remove return value from virPCIVPDResourceCustomUpsertValue

None of the callers pass NULL, so the NULL check is pointless. Remove it
an remove the return value.

The function is exported only for use in 'virpcivpdtest' thus marking
the arguments as NONNULL is unnecessary.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/util/virpcivpd.c
src/util/virpcivpdpriv.h
tests/virpcivpdtest.c