conf: Remove ATTRIBUTE_NONNULL(2) from virDomainCheckDeviceChanges()

Since we are checking the 2nd parameter in the function for NULL,
we need to remove ATTRIBUTE_NONNULL(2) from the prototype.

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
Message-Id: <20190726205633.2041912-5-stefanb@linux.vnet.ibm.com>
This commit is contained in:
Stefan Berger 2019-07-26 16:56:33 -04:00 committed by Eric Blake
parent 4f5fff8735
commit c0533b6552

View File

@ -3638,5 +3638,4 @@ bool
virDomainGraphicsNeedsAutoRenderNode(const virDomainGraphicsDef *graphics);
int
virDomainCheckDeviceChanges(virDomainDefPtr def, virDomainDefPtr newDef)
ATTRIBUTE_NONNULL(2);
virDomainCheckDeviceChanges(virDomainDefPtr def, virDomainDefPtr newDef);