]> git.ipfire.org Git - thirdparty/libvirt.git/commit
nodedev: don't log error in nodeDeviceFindAddressByName()
authorJonathon Jongsma <jjongsma@redhat.com>
Fri, 9 Apr 2021 19:29:43 +0000 (14:29 -0500)
committerJonathon Jongsma <jjongsma@redhat.com>
Mon, 19 Apr 2021 15:24:13 +0000 (10:24 -0500)
commit67ca558f5ce424b7462138eeee476b63e6512e11
tree14bbf5fbf7fb98781c3b6a5c5cedc5e13489d353
parent4ea5819d6ed75dbe70c0498be0e93d3c27a37dbf
nodedev: don't log error in nodeDeviceFindAddressByName()

The calling function will log the error. Just return NULL if a device
cannot be found.

Signed-off-by: Jonathon Jongsma <jjongsma@redhat.com>
Reviewed-by: Laine Stump <laine@redhat.com>
Reviewed-by: Erik Skultety <eskultet@redhat.com>
src/node_device/node_device_driver.c