From 5794e276b48638c7e44a763481aa051111de1676 Mon Sep 17 00:00:00 2001 From: Pritesh Kothari Date: Fri, 28 Mar 2014 12:20:00 -0700 Subject: [PATCH] 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 --- lib/dpif-netdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.47.0