> -----Original Message----- > From: David Marchand <[email protected]> > Sent: Saturday, January 30, 2021 4:33 AM > To: [email protected] > Cc: [email protected]; [email protected]; > [email protected]; Olivier Matz <[email protected]>; Ruifeng Wang > <[email protected]>; Phil Yang <[email protected]>; Andrew > Rybchenko <[email protected]>; [email protected] > Subject: [PATCH] mbuf: remove unneeded EAL header include > > There is no need for the direct inclusion of the generic/ header [1] now that > we don't use the rte_atomic API anymore. > > 1: https://git.dpdk.org/dpdk/commit/?id=3eb860b08eb7 > > Fixes: e41d27a68df6 ("mbuf: remove atomic reference counters") > Cc: [email protected] > > Signed-off-by: David Marchand <[email protected]> > --- > lib/librte_mbuf/rte_mbuf_core.h | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/lib/librte_mbuf/rte_mbuf_core.h > b/lib/librte_mbuf/rte_mbuf_core.h index a85cabdd18..9d1609336a 100644 > --- a/lib/librte_mbuf/rte_mbuf_core.h > +++ b/lib/librte_mbuf/rte_mbuf_core.h > @@ -20,7 +20,6 @@ > > #include <rte_compat.h> > #include <rte_byteorder.h> > -#include <generic/rte_atomic.h> > > #ifdef __cplusplus > extern "C" { > -- > 2.23.0
Reviewed-by: Ruifeng Wang <[email protected]>

