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:
parent
91009920e0
commit
43e34a229d
@ -49,7 +49,6 @@
|
||||
#include <rte_pmd_bnxt.h>
|
||||
#endif
|
||||
#include <rte_gro.h>
|
||||
#include <rte_config.h>
|
||||
|
||||
#include "testpmd.h"
|
||||
|
||||
|
@ -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 */
|
||||
|
@ -14,8 +14,6 @@
|
||||
*/
|
||||
#include <sys/types.h>
|
||||
|
||||
#include <rte_config.h>
|
||||
|
||||
#include "mlx5_glue.h"
|
||||
|
||||
static int
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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;
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -2,7 +2,6 @@
|
||||
* Copyright(c) 2019 Intel Corporation
|
||||
*/
|
||||
|
||||
#include <rte_config.h>
|
||||
#include <rte_eal_memconfig.h>
|
||||
#include <rte_version.h>
|
||||
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user