[PATCH 15/22] util: Remove NONNULL(1) for virHostdevReAttachDomainDevices

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Since the function handles a NULL 'mgr' condition, no need for the NONNULL

Signed-off-by: John Ferlan <jferlan@xxxxxxxxxx>
---
 src/util/virhostdev.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/util/virhostdev.h b/src/util/virhostdev.h
index 7ee0b43..45d1c2e 100644
--- a/src/util/virhostdev.h
+++ b/src/util/virhostdev.h
@@ -164,7 +164,7 @@ virHostdevReAttachDomainDevices(virHostdevManagerPtr mgr,
                                 virDomainDefPtr def,
                                 unsigned int flags,
                                 const char *oldStateDir)
-    ATTRIBUTE_NONNULL(1) ATTRIBUTE_NONNULL(2) ATTRIBUTE_NONNULL(3);
+    ATTRIBUTE_NONNULL(2) ATTRIBUTE_NONNULL(3);
 bool
 virHostdevIsSCSIDevice(virDomainHostdevDefPtr hostdev)
     ATTRIBUTE_NONNULL(1);
-- 
2.9.3

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]
  Powered by Linux