git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
edc845b
)
vhost: remove unnecessary return
author
Yuanhan Liu
<yuanhan.liu@linux.intel.com>
Fri, 25 Mar 2016 07:58:49 +0000
(15:58 +0800)
committer
Thomas 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
patch
|
blob
|
history
diff --git
a/lib/librte_vhost/vhost_rxtx.c
b/lib/librte_vhost/vhost_rxtx.c
index
b4da665
..
7d1224c
100644
(file)
--- 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