[libvirt] [PATCH 05/22] conf: Remove NONNULL(1) for virDomainNumaGetNodeCount
John Ferlan
jferlan at redhat.com
Wed Mar 22 14:21:18 UTC 2017
Since the code checks and handles a NULL 'numa' parameter, remove the NONNULL
from the prototype.
Signed-off-by: John Ferlan <jferlan at redhat.com>
---
src/conf/numa_conf.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/conf/numa_conf.h b/src/conf/numa_conf.h
index 05529ba..b6a5354 100644
--- a/src/conf/numa_conf.h
+++ b/src/conf/numa_conf.h
@@ -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);
--
2.9.3
More information about the libvir-list
mailing list