From: Pritesh Kothari Date: Fri, 28 Mar 2014 19:20:00 +0000 (-0700) Subject: sparse: workaround for a bug in sparse. X-Git-Tag: sliver-openvswitch-2.2.90-1~6^2~12 X-Git-Url: http://git.onelab.eu/?p=sliver-openvswitch.git;a=commitdiff_plain;h=5794e276b48638c7e44a763481aa051111de1676 sparse: workaround for a bug in sparse. sparse emits the following warning: lib/dpif-netdev.c:1755:15: warning: Initializer entry defined twice lib/dpif-netdev.c:1755:15: also defined here due to a bug in sparse which doesn't like inlined functions which expands a #define within it. This commit removes inline to make sparse happy. Signed-off-by: Pritesh Kothari Signed-off-by: Ben Pfaff --- diff --git a/lib/dpif-netdev.c b/lib/dpif-netdev.c index 60e024e56..ceee233ad 100644 --- a/lib/dpif-netdev.c +++ b/lib/dpif-netdev.c @@ -1734,7 +1734,7 @@ dp_netdev_actions_free(struct dp_netdev_actions *actions) } -inline static void +static void dp_netdev_process_rxq_port(struct dp_netdev *dp, struct dp_netdev_port *port, struct netdev_rxq *rxq)