summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuanhan Liu <yuanhan.liu@linux.intel.com>2016-03-25 15:58:49 +0800
committerThomas Monjalon <thomas.monjalon@6wind.com>2016-03-25 19:53:00 +0100
commitcce3ce3567e9b4a1809243179c942730e5707e8b (patch)
treea7c98a60f0bea36886648935b7f886ef0b3e6c12
parentedc845bd53ecd1eea30bb8dd878493f7496f7671 (diff)
downloaddpdk-cce3ce3567e9b4a1809243179c942730e5707e8b.zip
dpdk-cce3ce3567e9b4a1809243179c942730e5707e8b.tar.gz
dpdk-cce3ce3567e9b4a1809243179c942730e5707e8b.tar.xz
vhost: remove unnecessary return
Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
-rw-r--r--lib/librte_vhost/vhost_rxtx.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/librte_vhost/vhost_rxtx.c b/lib/librte_vhost/vhost_rxtx.c
index b4da665..7d1224c 100644
--- a/lib/librte_vhost/vhost_rxtx.c
+++ b/lib/librte_vhost/vhost_rxtx.c
@@ -123,8 +123,6 @@ virtio_enqueue_offload(struct rte_mbuf *m_buf, struct virtio_net_hdr *net_hdr)
net_hdr->hdr_len = m_buf->l2_len + m_buf->l3_len
+ m_buf->l4_len;
}
-
- return;
}
static inline void