From 73f5256b4c301c003d002703ca486e59fd20f53b Mon Sep 17 00:00:00 2001 From: John Ferlan Date: Wed, 22 Mar 2017 08:07:44 -0400 Subject: [PATCH] util: Remove NONNULL(1) for virNetDevMacVLanDeleteWithVPortProfile Since the source code checks 'ifname' for NULL before using, the prototype doesn't need the NONNULL --- src/util/virnetdevmacvlan.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- GitLab