From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id CBA481B654 for ; Thu, 2 Nov 2017 22:38:09 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 4E22D20F2E; Thu, 2 Nov 2017 17:38:09 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Thu, 02 Nov 2017 17:38:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= date:from:message-id:subject:to:x-me-sender:x-me-sender :x-sasl-enc; s=mesmtp; bh=sTmB69EfVfHpqw5kF8sgCB8RtD94bG7D506gCH cqnG0=; b=VdtmfxiRK8x5UVLZuCp5wzjNSO8xXEOKuSgU5zUvd/rAKqiCDHaEaA WSF6W+nbZJpu/kjH40nMB+GgDyL07s2uXEKRs6tz43oA3GZT6jpL+hTQ+nJQSZt3 PYU1DlL2/VSksFlDLEzeniVhIm36ZL4dKN49WWWmgV0vClJWlpeYE= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=date:from:message-id:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=sTmB69EfVfHpqw5kF 8sgCB8RtD94bG7D506gCHcqnG0=; b=ZMA1yr5tXqFG1kxGFR/AfLs+lLdF7aQ/F ueg6LXivHJO9zPmIAM7bBV0dKtvGYcV1S5AZe8Q66TT9zeC6M+m/e6/J/CniaIsC xJrYLLRZCf/onECt1D2d2/GMOGoJ4pLWFLcNhmietayUG9rE8JQTUqQa5kJZw90x cp6KDUgJc4fgs/eehI+lNP0Fqu+SNHksxCjfllk8Tlfwfi8Riai7zfmYVP7p19SQ gLBOKLA1Qq3rbK2m0As2DXD45lsm5IIfOoZGeAJ0maiOvp28xJyRFeNXlixbnziZ KVCrdm4ggV94ajljONoHardb49bACivPOjmT5eEsR0KdMOpYC9CtQ== X-ME-Sender: Received: from xps.monjalon.net (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id D551D7FAF2 for ; Thu, 2 Nov 2017 17:38:08 -0400 (EDT) From: Thomas Monjalon To: dev@dpdk.org Date: Thu, 2 Nov 2017 22:38:05 +0100 Message-Id: <20171102213805.13392-1-thomas@monjalon.net> X-Mailer: git-send-email 2.14.2 Subject: [dpdk-dev] [PATCH] remove include of generated config header X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Nov 2017 21:38:10 -0000 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 2c594d814..50776b351 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 1d18217d3..444cfa239 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 7c1b56b21..b677e5439 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 4b9a58aa0..3f2a90d10 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 4d1c3c9e4..7c7852fb3 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 fef686ff7..d9b523524 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 fe7bb868c..094ddc4eb 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 b99f6ec6b..5c1f71f6f 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 bbce492b7..b093a3e73 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 921c36b70..87a35157e 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 551da2048..09a962d65 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 f7cfff798..2378f3513 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 ca738133b..ae7508c97 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 4c4ac7e5d..c3f72464d 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 cc2636ca3..c1b8e2fb8 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 271d2bb65..5a3a956e3 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 8792ed56e..c9cb84201 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.14.2