]> xenbits.xensource.com Git - libvirt.git/commitdiff
conf: Remove NONNULL(1) for virDomainNumaGetNodeCount
authorJohn Ferlan <jferlan@redhat.com>
Tue, 21 Mar 2017 17:24:36 +0000 (13:24 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Wed, 22 Mar 2017 17:49:59 +0000 (13:49 -0400)
Since the code checks and handles a NULL 'numa' parameter, remove the NONNULL
from the prototype.

Signed-off-by: John Ferlan <jferlan@redhat.com>
src/conf/numa_conf.h

index 05529baf88f016b945a2a1cb35c32cf955eca0d4..b6a535403d3332f4a9d6955ad3c47cb015236bf3 100644 (file)
@@ -85,8 +85,8 @@ int virDomainNumatuneMaybeGetNodeset(virDomainNumaPtr numatune,
                                      virBitmapPtr *retNodeset,
                                      int cellid);
 
-size_t virDomainNumaGetNodeCount(virDomainNumaPtr numa)
-    ATTRIBUTE_NONNULL(1);
+size_t virDomainNumaGetNodeCount(virDomainNumaPtr numa);
+
 virBitmapPtr virDomainNumaGetNodeCpumask(virDomainNumaPtr numa,
                                          size_t node)
     ATTRIBUTE_NONNULL(1);