summaryrefslogtreecommitdiffstats
path: root/vnet
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2016-11-23 08:57:37 -0500
committerDamjan Marion <dmarion.lists@gmail.com>2016-11-23 15:19:11 +0000
commit971158ee7bc1a07d0d1468774e5dc0e388b6c449 (patch)
tree56f433c1bbac2cf468a3bf2e31e17890804155ea /vnet
parent4af521d2972af7efcf8ed0678293d2f0e2ce1b45 (diff)
Fix coverity warnings, VPP-486
Change-Id: Id88805f77642187f304f8baef1f6b447728e4b5b Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'vnet')
-rw-r--r--vnet/vnet/devices/dpdk/device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vnet/vnet/devices/dpdk/device.c b/vnet/vnet/devices/dpdk/device.c
index 242ad793380..9f40c277b20 100644
--- a/vnet/vnet/devices/dpdk/device.c
+++ b/vnet/vnet/devices/dpdk/device.c
@@ -323,7 +323,7 @@ dpdk_buffer_recycle (vlib_main_t * vm, vlib_node_runtime_t * node,
vlib_buffer_t * b, u32 bi, struct rte_mbuf **mbp)
{
dpdk_main_t *dm = &dpdk_main;
- u32 my_cpu = my_cpu = vm->cpu_index;
+ u32 my_cpu = vm->cpu_index;
struct rte_mbuf *mb_new;
if (PREDICT_FALSE (b->flags & VLIB_BUFFER_RECYCLE) == 0)