]> git.ipfire.org Git - thirdparty/libvirt.git/commit
node_device: Don't check the output of virGetUserRuntimeDirectory()
authorFabiano Fidêncio <fidencio@redhat.com>
Thu, 19 Dec 2019 09:23:14 +0000 (10:23 +0100)
committerFabiano Fidêncio <fidencio@redhat.com>
Fri, 20 Dec 2019 08:38:43 +0000 (09:38 +0100)
commitb311ae9e5b5a6a9b014285df660f4edb3cc5c00f
tree02ba311b2b115e451e65fd7e0159bb10c8daf95b
parent2c38781792949910a6e9ef1a8d7cde8b0674ce66
node_device: Don't check the output of virGetUserRuntimeDirectory()

virGetUserRuntimeDirectory() *never* *ever* returns NULL, making the
checks for it completely unnecessary.

Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/node_device/node_device_hal.c
src/node_device/node_device_udev.c