summaryrefslogtreecommitdiffstats
path: root/src/plugins/dpdk/device/device.c
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2020-04-28 13:29:37 +0200
committerDave Barach <openvpp@barachs.net>2020-04-29 17:20:47 +0000
commit4ba16a44b1f091bacc32fe6fa9f726e9a0d3b0e7 (patch)
treef8b76516a9087eb3dbee9a5c63c04d7f412cda42 /src/plugins/dpdk/device/device.c
parenta3108e65f396fa556e75dfe45b04a0bc3b6ec725 (diff)
misc: switch to clang-9
Type: improvement Change-Id: Iebf77a63c0c19b130a3fbd26b5293304a9fed4c1 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/plugins/dpdk/device/device.c')
-rw-r--r--src/plugins/dpdk/device/device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/dpdk/device/device.c b/src/plugins/dpdk/device/device.c
index d6a001b5ded..1ef2c5dc960 100644
--- a/src/plugins/dpdk/device/device.c
+++ b/src/plugins/dpdk/device/device.c
@@ -217,7 +217,7 @@ static_always_inline
return n_left;
}
-static_always_inline void
+static_always_inline __clib_unused void
dpdk_prefetch_buffer (vlib_main_t * vm, struct rte_mbuf *mb)
{
vlib_buffer_t *b = vlib_buffer_from_rte_mbuf (mb);