From 0d73397e5fd2d10f64e5e34aa56fc35d91291f7b Mon Sep 17 00:00:00 2001 From: John Ferlan Date: Tue, 21 Mar 2017 13:24:36 -0400 Subject: [PATCH] conf: Remove NONNULL(1) for virDomainNumaGetNodeCount Since the code checks and handles a NULL 'numa' parameter, remove the NONNULL from the prototype. Signed-off-by: John Ferlan --- 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 05529baf88..b6a535403d 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); -- GitLab