On Tue, Jun 18, 2019 at 03:04:25PM +0200, Michal Privoznik wrote:
When looking up a USB device by vendor the
virUSBDeviceFindByVendor() is used. The function returns number
of items found. But the logic in caller to process it is
needlessly complicated.

Signed-off-by: Michal Privoznik <[email protected]>
---
src/util/virhostdev.c | 13 +++++--------
1 file changed, 5 insertions(+), 8 deletions(-)


Reviewed-by: Ján Tomko <[email protected]>

Jano

Attachment: signature.asc
Description: PGP signature

--
libvir-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to