mbuf: remove redundant assignment when attaching
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>
This commit is contained in:
parent
e09ff22d53
commit
7c93195224
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user