]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: virNodeDeviceCapVPDParse*: Remove pointless NULL checks
authorPeter Krempa <pkrempa@redhat.com>
Wed, 24 Jan 2024 15:27:35 +0000 (16:27 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 31 Jan 2024 16:24:07 +0000 (17:24 +0100)
commitfb69acf5c255f6baedefe2a2535325af8088ced5
tree03a563593effa13ab33233184f6e7a394485ba95
parentd36da8ea4a107d129bdc701f95b1b131bc3df01d
conf: virNodeDeviceCapVPDParse*: Remove pointless NULL checks

The function are never called with NULL argument so the checks can be
removed.

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