vhost: remove unnecessary return
authorYuanhan Liu <yuanhan.liu@linux.intel.com>
Fri, 25 Mar 2016 07:58:49 +0000 (15:58 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 25 Mar 2016 18:53:00 +0000 (19:53 +0100)
Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
lib/librte_vhost/vhost_rxtx.c

index b4da665..7d1224c 100644 (file)
@@ -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