]> git.ipfire.org Git - thirdparty/libvirt.git/commit
node_device_udev: Make the code easier to read
authorMarc Hartmayer <mhartmay@linux.ibm.com>
Tue, 23 Apr 2024 18:09:03 +0000 (20:09 +0200)
committerJonathon Jongsma <jjongsma@redhat.com>
Tue, 18 Jun 2024 14:00:33 +0000 (09:00 -0500)
commit140cdf7f9aeedb20ecb0d23b2bb88c0ab9e2f366
tree94d5f43b63ddb935680f4a5e718b6674ee2a8d71
parentb56458d443ba1d890d336535b5840252cbb9df4b
node_device_udev: Make the code easier to read

There is only one case where force is true, therefore let's inline that case.

Reviewed-by: Jonathon Jongsma <jjongsma@redhat.com>
Reviewed-by: Boris Fiuczynski <fiuczy@linux.ibm.com>
Signed-off-by: Marc Hartmayer <mhartmay@linux.ibm.com>
src/node_device/node_device_udev.c