There are no external callers to this function. Signed-off-by: Roi Dayan <r...@nvidia.com> Reviewed-by: Eli Britstein <el...@nvidia.com> --- lib/dpif-netdev.c | 2 +- lib/dpif-netdev.h | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-)
diff --git a/lib/dpif-netdev.c b/lib/dpif-netdev.c index 53b0c07fefc1..6a99e30725fa 100644 --- a/lib/dpif-netdev.c +++ b/lib/dpif-netdev.c @@ -685,7 +685,7 @@ pmd_thread_ctx_time_update(struct dp_netdev_pmd_thread *pmd) } /* Returns true if 'dpif' is a netdev or dummy dpif, false otherwise. */ -bool +static bool dpif_is_netdev(const struct dpif *dpif) { return dpif->dpif_class->open == dpif_netdev_open; diff --git a/lib/dpif-netdev.h b/lib/dpif-netdev.h index 6db6ed2e2128..3323eb0204af 100644 --- a/lib/dpif-netdev.h +++ b/lib/dpif-netdev.h @@ -33,8 +33,6 @@ extern "C" { * headers to be aligned on a 4-byte boundary. */ enum { DP_NETDEV_HEADROOM = 2 + VLAN_HEADER_LEN }; -bool dpif_is_netdev(const struct dpif *); - #define NR_QUEUE 1 #define NR_PMD_THREADS 1 -- 2.21.0 _______________________________________________ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev