mirror of
https://github.com/openvswitch/ovs
synced 2025-08-30 22:05:19 +00:00
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 <pritesh.kothari@cisco.com> Signed-off-by: Ben Pfaff <blp@nicira.com>
This commit is contained in:
committed by
Ben Pfaff
parent
8605a29b26
commit
5794e276b4
@@ -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)
|
||||
|
Reference in New Issue
Block a user