]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_mbuf/rte_mbuf.h
mbuf: remove redundant assignment when attaching
[dpdk.git] / lib / librte_mbuf / rte_mbuf.h
index bfce9f4a3869109dccb87b19defc7f4e09dd264c..0d01167ccf32c66ba9c4d22dbf5976ddb702affc 100644 (file)
@@ -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;