From: John Ferlan Date: Wed, 22 Mar 2017 12:07:44 +0000 (-0400) Subject: util: Remove NONNULL(1) for virNetDevMacVLanDeleteWithVPortProfile X-Git-Tag: v3.2.0-rc1~164 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=73f5256b4c301c003d002703ca486e59fd20f53b;p=thirdparty%2Flibvirt.git util: Remove NONNULL(1) for virNetDevMacVLanDeleteWithVPortProfile Since the source code checks 'ifname' for NULL before using, the prototype doesn't need the NONNULL --- diff --git a/src/util/virnetdevmacvlan.h b/src/util/virnetdevmacvlan.h index 9a85a65875..c40f23ed2e 100644 --- a/src/util/virnetdevmacvlan.h +++ b/src/util/virnetdevmacvlan.h @@ -88,7 +88,7 @@ int virNetDevMacVLanDeleteWithVPortProfile(const char *ifname, int mode, virNetDevVPortProfilePtr virtPortProfile, char *stateDir) - ATTRIBUTE_NONNULL(1) ATTRIBUTE_NONNULL(2) ATTRIBUTE_NONNULL(3) + ATTRIBUTE_NONNULL(2) ATTRIBUTE_NONNULL(3) ATTRIBUTE_NONNULL(6) ATTRIBUTE_RETURN_CHECK; int virNetDevMacVLanRestartWithVPortProfile(const char *cr_ifname,