From: John Ferlan Date: Wed, 22 Mar 2017 11:25:32 +0000 (-0400) Subject: util: Remove NONNULL(1) for virNetDevOpenvswitchGetVhostuserIfname X-Git-Tag: v3.2.0-rc1~166 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fbd804ff3d66af48ec0d8208417bb09046986571;p=thirdparty%2Flibvirt.git util: Remove NONNULL(1) for virNetDevOpenvswitchGetVhostuserIfname Since the code checks and handles a NULL 'path', no need for the NONNULL --- 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__ */