From cce3ce3567e9b4a1809243179c942730e5707e8b Mon Sep 17 00:00:00 2001 From: Yuanhan Liu Date: Fri, 25 Mar 2016 15:58:49 +0800 Subject: [PATCH] vhost: remove unnecessary return Signed-off-by: Yuanhan Liu --- lib/librte_vhost/vhost_rxtx.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/librte_vhost/vhost_rxtx.c b/lib/librte_vhost/vhost_rxtx.c index b4da66563c..7d1224c2dd 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 -- 2.20.1