DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] mbuf: remove redundant line in rte_pktmbuf_attach
@ 2017-01-20  0:19 Ilya Matveychikov
  2017-01-20 12:08 ` Ferruh Yigit
  0 siblings, 1 reply; 8+ messages in thread
From: Ilya Matveychikov @ 2017-01-20  0:19 UTC (permalink / raw)
  To: dev

mi->next will be assigned to NULL few lines later, trivial patch

Signed-off-by: Ilya V. Matveychikov <matvejchikov@gmail.com>
---
 lib/librte_mbuf/rte_mbuf.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/librte_mbuf/rte_mbuf.h b/lib/librte_mbuf/rte_mbuf.h
index ead7c6e..5589d54 100644
--- a/lib/librte_mbuf/rte_mbuf.h
+++ b/lib/librte_mbuf/rte_mbuf.h
@@ -1139,7 +1139,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;
-- 
2.7.4

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2017-01-30  8:57 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-20  0:19 [dpdk-dev] [PATCH] mbuf: remove redundant line in rte_pktmbuf_attach Ilya Matveychikov
2017-01-20 12:08 ` Ferruh Yigit
2017-01-21 15:08   ` Ilya Matveychikov
2017-01-21 16:28     ` Ananyev, Konstantin
2017-01-24 12:56       ` Olivier MATZ
2017-01-24 15:57         ` Ilya Matveychikov
2017-01-24 16:19           ` Olivier MATZ
2017-01-30  8:57         ` Thomas Monjalon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).