From fbd804ff3d66af48ec0d8208417bb09046986571 Mon Sep 17 00:00:00 2001 From: John Ferlan Date: Wed, 22 Mar 2017 07:25:32 -0400 Subject: [PATCH] util: Remove NONNULL(1) for virNetDevOpenvswitchGetVhostuserIfname Since the code checks and handles a NULL 'path', no need for the NONNULL --- src/util/virnetdevopenvswitch.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/virnetdevopenvswitch.h b/src/util/virnetdevopenvswitch.h index 021eba9d3a..7380a2d84b 100644 --- a/src/util/virnetdevopenvswitch.h +++ b/src/util/virnetdevopenvswitch.h @@ -59,6 +59,6 @@ int virNetDevOpenvswitchInterfaceStats(const char *ifname, int virNetDevOpenvswitchGetVhostuserIfname(const char *path, char **ifname) - ATTRIBUTE_NONNULL(1) ATTRIBUTE_NONNULL(2) ATTRIBUTE_RETURN_CHECK; + ATTRIBUTE_NONNULL(2) ATTRIBUTE_RETURN_CHECK; #endif /* __VIR_NETDEV_OPENVSWITCH_H__ */