]> xenbits.xensource.com Git - libvirt.git/commitdiff
cpu: Remove NONNULL(1) for cpuBaseline
authorJohn Ferlan <jferlan@redhat.com>
Wed, 22 Mar 2017 12:38:40 +0000 (08:38 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Wed, 22 Mar 2017 17:50:00 +0000 (13:50 -0400)
Since the code checks and handles a NULL 'cpus' anyway, so no need
for the NONNULL.

src/cpu/cpu.h

index 7d6d3e92114c16da319c8c74bb25a9abd8dffed0..d23409a4f0684499a47386d62f9ac16e89790508 100644 (file)
@@ -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,