]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: pcivpd: Refactor virPCIVPDResourceIsValidTextValue
authorPeter Krempa <pkrempa@redhat.com>
Wed, 24 Jan 2024 14:53:39 +0000 (15:53 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 31 Jan 2024 16:24:06 +0000 (17:24 +0100)
commiteb3844009dc3bdd50274954618b8cd9962218317
tree44f90401999cd94fd55bdea50b7ffa27fb11ed79
parent42df6cc1b4acc40d05ff6bc8e85587e4faec6cac
util: pcivpd: Refactor virPCIVPDResourceIsValidTextValue

The function is never called with NULL argument. Remove the check and
refactor the rest including the debug statement.

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