]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
util: Remove NONNULL(1) for virHostdevReAttachDomainDevices
authorJohn Ferlan <jferlan@redhat.com>
Wed, 22 Mar 2017 12:30:15 +0000 (08:30 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Wed, 22 Mar 2017 17:50:00 +0000 (13:50 -0400)
Since the function handles a NULL 'mgr' condition, no need for the NONNULL

src/util/virhostdev.h

index 7ee0b43331200c3bed89ec9acf1a600b193ae486..45d1c2e2df8b03c285c7c1a8226f8dde6fb2d7eb 100644 (file)
@@ -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);