[PATCH 22/22] cpu: Remove NONNULL(1) for cpuBaseline

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

 



Since the code checks and handles a NULL 'cpus' anyway, so no need
for the NONNULL.

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

diff --git a/src/cpu/cpu.h b/src/cpu/cpu.h
index 7d6d3e9..d23409a 100644
--- a/src/cpu/cpu.h
+++ b/src/cpu/cpu.h
@@ -195,8 +195,7 @@ cpuBaseline (virCPUDefPtr *cpus,
              unsigned int ncpus,
              const char **models,
              unsigned int nmodels,
-             unsigned int flags)
-    ATTRIBUTE_NONNULL(1);
+             unsigned int flags);
 
 int
 virCPUUpdate(virArch arch,
-- 
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