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:
e09ff22
)
mbuf: remove redundant assignment when attaching
author
Ilya V. Matveychikov
<matvejchikov@gmail.com>
Fri, 20 Jan 2017 00:19:23 +0000
(
04:19
+0400)
committer
Thomas Monjalon
<thomas.monjalon@6wind.com>
Mon, 30 Jan 2017 09:08:54 +0000
(10:08 +0100)
mi->next will be assigned to NULL few lines later, trivial patch
Fixes:
ea672a8b1655
("mbuf: remove the rte_pktmbuf structure")
Signed-off-by: Ilya V. Matveychikov <matvejchikov@gmail.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
lib/librte_mbuf/rte_mbuf.h
patch
|
blob
|
history
diff --git
a/lib/librte_mbuf/rte_mbuf.h
b/lib/librte_mbuf/rte_mbuf.h
index
bfce9f4
..
0d01167
100644
(file)
--- a/
lib/librte_mbuf/rte_mbuf.h
+++ b/
lib/librte_mbuf/rte_mbuf.h
@@
-1158,7
+1158,6
@@
static inline void rte_pktmbuf_attach(struct rte_mbuf *mi, struct rte_mbuf *m)
mi->buf_addr = m->buf_addr;
mi->buf_len = m->buf_len;
- mi->next = m->next;
mi->data_off = m->data_off;
mi->data_len = m->data_len;
mi->port = m->port;