build: remove redundant config include

The header file rte_config.h is always included by make or meson.
If required in an exported API header file, it must be included
in the public header file for external applications.
In the internal files, explicit include of rte_config.h is useless,
and can be removed.

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Acked-by: Matan Azrad <matan@mellanox.com>
Acked-by: David Marchand <david.marchand@redhat.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
This commit is contained in:
Thomas Monjalon 2020-02-10 10:53:34 +01:00 committed by David Marchand
parent 91009920e0
commit 43e34a229d
12 changed files with 0 additions and 13 deletions

View File

@ -49,7 +49,6 @@
#include <rte_pmd_bnxt.h>
#endif
#include <rte_gro.h>
#include <rte_config.h>
#include "testpmd.h"

View File

@ -24,7 +24,6 @@
#include <fcntl.h>
#include <unistd.h>
#include <elf.h>
#include <rte_config.h>
#include <rte_pci.h>
/* On BSD-alike OSes elf.h defines these according to host's word size */

View File

@ -14,8 +14,6 @@
*/
#include <sys/types.h>
#include <rte_config.h>
#include "mlx5_glue.h"
static int

View File

@ -6,7 +6,6 @@
#include <rte_bus_pci.h>
#include <rte_bus_vdev.h>
#include <rte_common.h>
#include <rte_config.h>
#include <rte_cryptodev.h>
#include <rte_cryptodev_pmd.h>
#include <rte_pci.h>

View File

@ -26,7 +26,6 @@
#include <rte_string_fns.h>
#include <rte_branch_prediction.h>
#include <rte_common.h>
#include <rte_config.h>
#include <rte_dev.h>
#include <rte_eal.h>
#include <rte_ether.h>

View File

@ -13,7 +13,6 @@
#include <unistd.h>
#include <rte_alarm.h>
#include <rte_config.h>
#include <rte_errno.h>
#include <rte_ethdev.h>
#include <rte_interrupts.h>

View File

@ -18,7 +18,6 @@
#include <rte_spinlock.h>
#include <rte_cycles.h>
#include <rte_log.h>
#include <rte_config.h>
typedef uint8_t u8;
typedef int8_t s8;

View File

@ -29,7 +29,6 @@
#endif
#include <rte_common.h>
#include <rte_config.h>
#include <rte_dev.h>
#include <rte_errno.h>
#include <rte_ethdev_driver.h>

View File

@ -29,7 +29,6 @@
#include <rte_pci.h>
#include <rte_bus_pci.h>
#include <rte_common.h>
#include <rte_config.h>
#include <rte_kvargs.h>
#include <rte_rwlock.h>
#include <rte_spinlock.h>

View File

@ -27,7 +27,6 @@
#include <rte_bus.h>
#include <rte_bus_vdev.h>
#include <rte_common.h>
#include <rte_config.h>
#include <rte_dev.h>
#include <rte_errno.h>
#include <rte_ethdev.h>

View File

@ -2,7 +2,6 @@
* Copyright(c) 2019 Intel Corporation
*/
#include <rte_config.h>
#include <rte_eal_memconfig.h>
#include <rte_version.h>

View File

@ -5,7 +5,6 @@
#ifndef EAL_MEMCFG_H
#define EAL_MEMCFG_H
#include <rte_config.h>
#include <rte_memory.h>
#include <rte_memzone.h>
#include <rte_pause.h>