[dpdk-dev] [PATCH] drivers/dpaa: remove duplicate includes

Hemant Agrawal hemant.agrawal at nxp.com
Fri Oct 6 18:26:17 CEST 2017


Acked-by: Hemant Agrawal <hemant.agrawal at nxp.com>

On 10/6/2017 9:40 PM, Thomas Monjalon wrote:
> Fixes: 866c306ff03f ("mempool/dpaa: support NXP DPAA mempool")
> Fixes: 37f9b54bd3cf ("net/dpaa: support Tx and Rx queue setup")
>
> Signed-off-by: Thomas Monjalon <thomas at monjalon.net>
> ---
>  drivers/mempool/dpaa/dpaa_mempool.h | 1 -
>  drivers/net/dpaa/dpaa_rxtx.c        | 2 --
>  2 files changed, 3 deletions(-)
>
> diff --git a/drivers/mempool/dpaa/dpaa_mempool.h b/drivers/mempool/dpaa/dpaa_mempool.h
> index de33c0cf1..679585946 100644
> --- a/drivers/mempool/dpaa/dpaa_mempool.h
> +++ b/drivers/mempool/dpaa/dpaa_mempool.h
> @@ -37,7 +37,6 @@
>  #include <stdbool.h>
>  #include <inttypes.h>
>  #include <unistd.h>
> -#include <unistd.h>
>
>  #include <rte_mempool.h>
>
> diff --git a/drivers/net/dpaa/dpaa_rxtx.c b/drivers/net/dpaa/dpaa_rxtx.c
> index d73f9cbe7..0433f3bb1 100644
> --- a/drivers/net/dpaa/dpaa_rxtx.c
> +++ b/drivers/net/dpaa/dpaa_rxtx.c
> @@ -32,7 +32,6 @@
>   */
>
>  /* System headers */
> -#include <stdio.h>
>  #include <inttypes.h>
>  #include <unistd.h>
>  #include <stdio.h>
> @@ -56,7 +55,6 @@
>  #include <rte_alarm.h>
>  #include <rte_ether.h>
>  #include <rte_ethdev.h>
> -#include <rte_atomic.h>
>  #include <rte_malloc.h>
>  #include <rte_ring.h>
>  #include <rte_ip.h>
>



More information about the dev mailing list