From: John Ferlan Date: Tue, 21 Mar 2017 18:23:11 +0000 (-0400) Subject: util: Remove NONNULL(2,3) for virHostdevReAttachPCIDevices X-Git-Tag: v3.2.0-rc1~174 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=17a448da1d45abb95982189d7b581f7b1716660c;p=thirdparty%2Flibvirt.git util: Remove NONNULL(2,3) for virHostdevReAttachPCIDevices The called function uses a STRNEQ_NULLABLE anyway for both 'drv_name' and 'dom_name', so no need. Signed-off-by: John Ferlan --- diff --git a/src/util/virhostdev.h b/src/util/virhostdev.h index 1202136c29..4ce5c4de54 100644 --- a/src/util/virhostdev.h +++ b/src/util/virhostdev.h @@ -103,7 +103,7 @@ virHostdevReAttachPCIDevices(virHostdevManagerPtr hostdev_mgr, virDomainHostdevDefPtr *hostdevs, int nhostdevs, const char *oldStateDir) - ATTRIBUTE_NONNULL(1) ATTRIBUTE_NONNULL(2) ATTRIBUTE_NONNULL(3); + ATTRIBUTE_NONNULL(1); void virHostdevReAttachUSBDevices(virHostdevManagerPtr hostdev_mgr, const char *drv_name,