From f1a7a5c5f4048e578c9271b441f302b33d73864b Mon Sep 17 00:00:00 2001 From: Thomas Monjalon Date: Thu, 2 Nov 2017 22:35:02 +0100 Subject: [PATCH] remove include of generated config header The file rte_config.h is generated and automatically included with -include option. The explicit includes in drivers and libraries are useless. Signed-off-by: Thomas Monjalon --- drivers/bus/dpaa/dpaa_bus.c | 1 - drivers/crypto/aesni_gcm/aesni_gcm_pmd.c | 1 - drivers/crypto/kasumi/rte_kasumi_pmd.c | 1 - drivers/crypto/null/null_crypto_pmd.c | 1 - drivers/crypto/null/null_crypto_pmd_private.h | 2 -- drivers/crypto/scheduler/scheduler_pmd_ops.c | 1 - drivers/crypto/snow3g/rte_snow3g_pmd.c | 1 - drivers/crypto/zuc/rte_zuc_pmd.c | 1 - drivers/event/octeontx/ssovf_evdev.h | 1 - drivers/mempool/dpaa/dpaa_mempool.c | 1 - drivers/net/dpaa/dpaa_ethdev.c | 1 - drivers/net/dpaa/dpaa_rxtx.c | 1 - drivers/net/mrvl/mrvl_qos.h | 1 - lib/librte_eal/common/include/rte_dev.h | 1 - lib/librte_eal/common/include/rte_eal.h | 1 - lib/librte_eal/common/include/rte_memory.h | 2 -- lib/librte_ether/ethdev_profile.c | 2 -- 17 files changed, 20 deletions(-) diff --git a/drivers/bus/dpaa/dpaa_bus.c b/drivers/bus/dpaa/dpaa_bus.c index 2c594d8149..50776b351a 100644 --- a/drivers/bus/dpaa/dpaa_bus.c +++ b/drivers/bus/dpaa/dpaa_bus.c @@ -40,7 +40,6 @@ #include #include -#include #include #include #include diff --git a/drivers/crypto/aesni_gcm/aesni_gcm_pmd.c b/drivers/crypto/aesni_gcm/aesni_gcm_pmd.c index 1d18217d39..444cfa2390 100644 --- a/drivers/crypto/aesni_gcm/aesni_gcm_pmd.c +++ b/drivers/crypto/aesni_gcm/aesni_gcm_pmd.c @@ -31,7 +31,6 @@ */ #include -#include #include #include #include diff --git a/drivers/crypto/kasumi/rte_kasumi_pmd.c b/drivers/crypto/kasumi/rte_kasumi_pmd.c index 7c1b56b21a..b677e54395 100644 --- a/drivers/crypto/kasumi/rte_kasumi_pmd.c +++ b/drivers/crypto/kasumi/rte_kasumi_pmd.c @@ -31,7 +31,6 @@ */ #include -#include #include #include #include diff --git a/drivers/crypto/null/null_crypto_pmd.c b/drivers/crypto/null/null_crypto_pmd.c index 4b9a58aa01..3f2a90d105 100644 --- a/drivers/crypto/null/null_crypto_pmd.c +++ b/drivers/crypto/null/null_crypto_pmd.c @@ -31,7 +31,6 @@ */ #include -#include #include #include #include diff --git a/drivers/crypto/null/null_crypto_pmd_private.h b/drivers/crypto/null/null_crypto_pmd_private.h index 4d1c3c9e47..7c7852fb3b 100644 --- a/drivers/crypto/null/null_crypto_pmd_private.h +++ b/drivers/crypto/null/null_crypto_pmd_private.h @@ -33,8 +33,6 @@ #ifndef _NULL_CRYPTO_PMD_PRIVATE_H_ #define _NULL_CRYPTO_PMD_PRIVATE_H_ -#include "rte_config.h" - #define CRYPTODEV_NAME_NULL_PMD crypto_null /**< Null crypto PMD device name */ diff --git a/drivers/crypto/scheduler/scheduler_pmd_ops.c b/drivers/crypto/scheduler/scheduler_pmd_ops.c index fef686ff75..d9b5235248 100644 --- a/drivers/crypto/scheduler/scheduler_pmd_ops.c +++ b/drivers/crypto/scheduler/scheduler_pmd_ops.c @@ -31,7 +31,6 @@ */ #include -#include #include #include #include diff --git a/drivers/crypto/snow3g/rte_snow3g_pmd.c b/drivers/crypto/snow3g/rte_snow3g_pmd.c index fe7bb868c2..094ddc4eb1 100644 --- a/drivers/crypto/snow3g/rte_snow3g_pmd.c +++ b/drivers/crypto/snow3g/rte_snow3g_pmd.c @@ -31,7 +31,6 @@ */ #include -#include #include #include #include diff --git a/drivers/crypto/zuc/rte_zuc_pmd.c b/drivers/crypto/zuc/rte_zuc_pmd.c index b99f6ec6b9..5c1f71f6fc 100644 --- a/drivers/crypto/zuc/rte_zuc_pmd.c +++ b/drivers/crypto/zuc/rte_zuc_pmd.c @@ -31,7 +31,6 @@ */ #include -#include #include #include #include diff --git a/drivers/event/octeontx/ssovf_evdev.h b/drivers/event/octeontx/ssovf_evdev.h index bbce492b75..b093a3e73f 100644 --- a/drivers/event/octeontx/ssovf_evdev.h +++ b/drivers/event/octeontx/ssovf_evdev.h @@ -33,7 +33,6 @@ #ifndef __SSOVF_EVDEV_H__ #define __SSOVF_EVDEV_H__ -#include #include #include diff --git a/drivers/mempool/dpaa/dpaa_mempool.c b/drivers/mempool/dpaa/dpaa_mempool.c index 921c36b701..87a35157e1 100644 --- a/drivers/mempool/dpaa/dpaa_mempool.c +++ b/drivers/mempool/dpaa/dpaa_mempool.c @@ -41,7 +41,6 @@ #include #include -#include #include #include #include diff --git a/drivers/net/dpaa/dpaa_ethdev.c b/drivers/net/dpaa/dpaa_ethdev.c index 551da20485..09a962d653 100644 --- a/drivers/net/dpaa/dpaa_ethdev.c +++ b/drivers/net/dpaa/dpaa_ethdev.c @@ -41,7 +41,6 @@ #include #include -#include #include #include #include diff --git a/drivers/net/dpaa/dpaa_rxtx.c b/drivers/net/dpaa/dpaa_rxtx.c index f7cfff7984..2378f35132 100644 --- a/drivers/net/dpaa/dpaa_rxtx.c +++ b/drivers/net/dpaa/dpaa_rxtx.c @@ -39,7 +39,6 @@ #include #include -#include #include #include #include diff --git a/drivers/net/mrvl/mrvl_qos.h b/drivers/net/mrvl/mrvl_qos.h index ca738133b1..ae7508c97a 100644 --- a/drivers/net/mrvl/mrvl_qos.h +++ b/drivers/net/mrvl/mrvl_qos.h @@ -36,7 +36,6 @@ #define _MRVL_QOS_H_ #include -#include #include "mrvl_ethdev.h" diff --git a/lib/librte_eal/common/include/rte_dev.h b/lib/librte_eal/common/include/rte_dev.h index 4c4ac7e5d3..c3f72464df 100644 --- a/lib/librte_eal/common/include/rte_dev.h +++ b/lib/librte_eal/common/include/rte_dev.h @@ -49,7 +49,6 @@ extern "C" { #include #include -#include #include __attribute__((format(printf, 2, 0))) diff --git a/lib/librte_eal/common/include/rte_eal.h b/lib/librte_eal/common/include/rte_eal.h index 3a093d17e9..09b66819af 100644 --- a/lib/librte_eal/common/include/rte_eal.h +++ b/lib/librte_eal/common/include/rte_eal.h @@ -44,7 +44,6 @@ #include #include -#include #include #include diff --git a/lib/librte_eal/common/include/rte_memory.h b/lib/librte_eal/common/include/rte_memory.h index 271d2bb65e..5a3a956e36 100644 --- a/lib/librte_eal/common/include/rte_memory.h +++ b/lib/librte_eal/common/include/rte_memory.h @@ -44,8 +44,6 @@ #include #include -#include - #ifdef __cplusplus extern "C" { #endif diff --git a/lib/librte_ether/ethdev_profile.c b/lib/librte_ether/ethdev_profile.c index 8792ed56ee..c9cb842011 100644 --- a/lib/librte_ether/ethdev_profile.c +++ b/lib/librte_ether/ethdev_profile.c @@ -31,8 +31,6 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include - #include "ethdev_profile.h" /** -- 2.20.1