]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: Remove NONNULL(2,3) for virHostdevReAttachUSBDevices
authorJohn Ferlan <jferlan@redhat.com>
Tue, 21 Mar 2017 18:25:43 +0000 (14:25 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Wed, 22 Mar 2017 17:49:59 +0000 (13:49 -0400)
commitceaf3274756c5dc3d9885d80863b76cac09201ae
tree13dee9598f390dfffacb83b38725a2fe22f397f4
parent17a448da1d45abb95982189d7b581f7b1716660c
util: Remove NONNULL(2,3) for virHostdevReAttachUSBDevices

The comparison code used STREQ_NULLABLE anyway for both 'drv_name' and
'dom_name', so no need. Add a NULLSTR on the 'dom_name' too.

Signed-off-by: John Ferlan <jferlan@redhat.com>
src/util/virhostdev.c
src/util/virhostdev.h