From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f45.google.com (mail-wm0-f45.google.com [74.125.82.45]) by dpdk.org (Postfix) with ESMTP id 547E91396 for ; Mon, 8 Feb 2016 15:39:54 +0100 (CET) Received: by mail-wm0-f45.google.com with SMTP id 128so157788755wmz.1 for ; Mon, 08 Feb 2016 06:39:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id; bh=w7bervca5EHZ/6wICW/l5wmm8PzPyvnjxmFXAys8Eho=; b=tk4qOyNBmaKk3QDAqrFEbuTli+DAonZXUv0WS5WRpjsHMUW870Ia0ZSfUpyJQxkwlt PSmpBCMU/hVi8BcCk8axoy8sVXco6RTNJMAjkFi6H4rNhKHatjKFe3qyrBCby79/DcEx 7rr3e7IFgK+2Hx8Bo5aNZ6TZleqZ8gzOGhKNpkn7Z29uXIdOdXxyYbteUIaP7c22HhPJ aaw9blLCop15Y1CNt9Oy1QXbuf8bO8EhvAh0aFTIFg+Dhc/QjXSDeg8XNWAHXm7TKf+k 4Bk/DTr/7vvcAiwU71z/s15cb+p0FvhodarPEKPlOtJ8oH+T+D55wW9OG2D2GtdJI4cI V8mg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id; bh=w7bervca5EHZ/6wICW/l5wmm8PzPyvnjxmFXAys8Eho=; b=i3nujQxWsz9/28gDXJzrgMDNx92qS5EZ3xBF5mQ+Ofa1I118sqS3mwIKctrMf1AaFz N6LV5ddJMWEO5mgmRqkPymx5mSJG6tNK7JDhp9Mk4uSxXdEIHuB28Zq8lOG5K5FDtVmc R36u5WXQvSw5mU5Db2E2rESxLzJ87l+RHWwfKyZTESBcSSZsuwOkRjXkk6+KNnoM2ldn b7MGviLuLMdZiux1oN8baNkxh2LHY8QIZILmeERsLvobnAImHvUmgYMKtDU7Y+gO6gwf IjL92kSbhgKgK8h4YlGXxE9IoQCVaF33l41XMGCUyFZKiP6mMOz+z8mxjTqHysi//ucq YlMg== X-Gm-Message-State: AG10YOQq1Z19afUcqix0iWHiewuOyLL8gU6UJLu5NcYbj603ynUH7V099UTqifHAWOKGqhp0 X-Received: by 10.28.146.145 with SMTP id u139mr30093978wmd.81.1454942394069; Mon, 08 Feb 2016 06:39:54 -0800 (PST) Received: from localhost.localdomain (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by smtp.gmail.com with ESMTPSA id hm9sm30052904wjb.34.2016.02.08.06.39.52 for (version=TLSv1/SSLv3 cipher=OTHER); Mon, 08 Feb 2016 06:39:53 -0800 (PST) From: Thomas Monjalon To: dev@dpdk.org Date: Mon, 8 Feb 2016 15:38:26 +0100 Message-Id: <1454942306-26154-1-git-send-email-thomas.monjalon@6wind.com> X-Mailer: git-send-email 2.7.0 Subject: [dpdk-dev] [PATCH] config: remove useless explicit includes of generated header X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Feb 2016 14:39:54 -0000 The file rte_config.h is automatically generated and included. No need to #include it. The example performance-thread needs a makefile fix to avoid overwriting the default cflags. Signed-off-by: Thomas Monjalon --- app/proc_info/main.c | 1 - app/test/test_power_kvm_vm.c | 1 - drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c | 1 - drivers/net/mlx4/mlx4.c | 1 - examples/l2fwd-ivshmem/host/host.c | 1 - examples/performance-thread/common/lthread.c | 1 - examples/performance-thread/common/lthread_cond.c | 1 - examples/performance-thread/common/lthread_diag.c | 1 - examples/performance-thread/common/lthread_mutex.c | 1 - examples/performance-thread/common/lthread_sched.c | 1 - examples/performance-thread/common/lthread_tls.c | 1 - examples/performance-thread/pthread_shim/Makefile | 2 +- examples/performance-thread/pthread_shim/main.c | 1 - examples/performance-thread/pthread_shim/pthread_shim.c | 1 - examples/vm_power_manager/channel_manager.c | 1 - examples/vm_power_manager/channel_monitor.c | 1 - examples/vm_power_manager/guest_cli/main.c | 1 - examples/vm_power_manager/guest_cli/vm_power_cli_guest.c | 1 - examples/vm_power_manager/main.c | 1 - examples/vm_power_manager/power_manager.c | 1 - examples/vm_power_manager/vm_power_cli.c | 1 - lib/librte_eal/linuxapp/kni/kni_misc.c | 1 - lib/librte_eal/linuxapp/kni/kni_net.c | 1 - lib/librte_eal/linuxapp/xen_dom0/dom0_mm_misc.c | 1 - lib/librte_power/guest_channel.c | 1 - lib/librte_power/rte_power_kvm_vm.c | 1 - 26 files changed, 1 insertion(+), 26 deletions(-) diff --git a/app/proc_info/main.c b/app/proc_info/main.c index 6448d7b..341176d 100644 --- a/app/proc_info/main.c +++ b/app/proc_info/main.c @@ -42,7 +42,6 @@ #include #include -#include #include #include #include diff --git a/app/test/test_power_kvm_vm.c b/app/test/test_power_kvm_vm.c index 6fdb344..ff468c1 100644 --- a/app/test/test_power_kvm_vm.c +++ b/app/test/test_power_kvm_vm.c @@ -40,7 +40,6 @@ #include "test.h" #include -#include #define TEST_POWER_VM_LCORE_ID 0U #define TEST_POWER_VM_LCORE_OUT_OF_BOUNDS (RTE_MAX_LCORE+1) diff --git a/drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c b/drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c index d8ccf05..2ede7c1 100644 --- a/drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c +++ b/drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c @@ -31,7 +31,6 @@ */ #include -#include #include #include #include diff --git a/drivers/net/mlx4/mlx4.c b/drivers/net/mlx4/mlx4.c index 207bfe2..ee00151 100644 --- a/drivers/net/mlx4/mlx4.c +++ b/drivers/net/mlx4/mlx4.c @@ -73,7 +73,6 @@ #ifdef PEDANTIC #pragma GCC diagnostic ignored "-pedantic" #endif -#include #include #include #include diff --git a/examples/l2fwd-ivshmem/host/host.c b/examples/l2fwd-ivshmem/host/host.c index d923711..6e6ed5e 100644 --- a/examples/l2fwd-ivshmem/host/host.c +++ b/examples/l2fwd-ivshmem/host/host.c @@ -41,7 +41,6 @@ #include #include -#include #include #include #include diff --git a/examples/performance-thread/common/lthread.c b/examples/performance-thread/common/lthread.c index e8addb7..8fbff73 100644 --- a/examples/performance-thread/common/lthread.c +++ b/examples/performance-thread/common/lthread.c @@ -74,7 +74,6 @@ #include #include -#include #include #include diff --git a/examples/performance-thread/common/lthread_cond.c b/examples/performance-thread/common/lthread_cond.c index 8885a09..96fcce0 100644 --- a/examples/performance-thread/common/lthread_cond.c +++ b/examples/performance-thread/common/lthread_cond.c @@ -73,7 +73,6 @@ #include #include -#include #include #include diff --git a/examples/performance-thread/common/lthread_diag.c b/examples/performance-thread/common/lthread_diag.c index 1913c25..bce1a0c 100644 --- a/examples/performance-thread/common/lthread_diag.c +++ b/examples/performance-thread/common/lthread_diag.c @@ -31,7 +31,6 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include #include #include diff --git a/examples/performance-thread/common/lthread_mutex.c b/examples/performance-thread/common/lthread_mutex.c index 074d066..af8b82d 100644 --- a/examples/performance-thread/common/lthread_mutex.c +++ b/examples/performance-thread/common/lthread_mutex.c @@ -44,7 +44,6 @@ #include #include -#include #include #include #include diff --git a/examples/performance-thread/common/lthread_sched.c b/examples/performance-thread/common/lthread_sched.c index 3fad768..ae698c4 100644 --- a/examples/performance-thread/common/lthread_sched.c +++ b/examples/performance-thread/common/lthread_sched.c @@ -76,7 +76,6 @@ #include #include -#include #include #include #include diff --git a/examples/performance-thread/common/lthread_tls.c b/examples/performance-thread/common/lthread_tls.c index 1c6cf11..43cda4f 100644 --- a/examples/performance-thread/common/lthread_tls.c +++ b/examples/performance-thread/common/lthread_tls.c @@ -45,7 +45,6 @@ #include #include -#include #include #include #include diff --git a/examples/performance-thread/pthread_shim/Makefile b/examples/performance-thread/pthread_shim/Makefile index 9cf32e3..86ac657 100644 --- a/examples/performance-thread/pthread_shim/Makefile +++ b/examples/performance-thread/pthread_shim/Makefile @@ -46,7 +46,7 @@ SRCS-y := main.c pthread_shim.c INCLUDES := -I$(RTE_SDK)/$(RTE_TARGET)/include -I$(SRCDIR) include $(RTE_SDK)/examples/performance-thread/common/common.mk -CFLAGS= -g -O3 $(USER_FLAGS) $(INCLUDES) +CFLAGS += -g -O3 $(USER_FLAGS) $(INCLUDES) CFLAGS += $(WERROR_FLAGS) LDFLAGS += -lpthread diff --git a/examples/performance-thread/pthread_shim/main.c b/examples/performance-thread/pthread_shim/main.c index dab379a..f035721 100644 --- a/examples/performance-thread/pthread_shim/main.c +++ b/examples/performance-thread/pthread_shim/main.c @@ -47,7 +47,6 @@ #include #include -#include #include #include #include diff --git a/examples/performance-thread/pthread_shim/pthread_shim.c b/examples/performance-thread/pthread_shim/pthread_shim.c index 0fd36ba..93c3216 100644 --- a/examples/performance-thread/pthread_shim/pthread_shim.c +++ b/examples/performance-thread/pthread_shim/pthread_shim.c @@ -39,7 +39,6 @@ #include #include -#include #include #include "lthread_api.h" diff --git a/examples/vm_power_manager/channel_manager.c b/examples/vm_power_manager/channel_manager.c index ceaf95d..22c2ddd 100644 --- a/examples/vm_power_manager/channel_manager.c +++ b/examples/vm_power_manager/channel_manager.c @@ -45,7 +45,6 @@ #include #include -#include #include #include #include diff --git a/examples/vm_power_manager/channel_monitor.c b/examples/vm_power_manager/channel_monitor.c index 7003ddf..e7f5cc4 100644 --- a/examples/vm_power_manager/channel_monitor.c +++ b/examples/vm_power_manager/channel_monitor.c @@ -42,7 +42,6 @@ #include #include -#include #include #include #include diff --git a/examples/vm_power_manager/guest_cli/main.c b/examples/vm_power_manager/guest_cli/main.c index 7ee2296..5ac98ed 100644 --- a/examples/vm_power_manager/guest_cli/main.c +++ b/examples/vm_power_manager/guest_cli/main.c @@ -48,7 +48,6 @@ #include #include #include -#include #include "vm_power_cli_guest.h" diff --git a/examples/vm_power_manager/guest_cli/vm_power_cli_guest.c b/examples/vm_power_manager/guest_cli/vm_power_cli_guest.c index 75e544a..7931135 100644 --- a/examples/vm_power_manager/guest_cli/vm_power_cli_guest.c +++ b/examples/vm_power_manager/guest_cli/vm_power_cli_guest.c @@ -43,7 +43,6 @@ #include #include #include -#include #include #include diff --git a/examples/vm_power_manager/main.c b/examples/vm_power_manager/main.c index dfca7b8..97178d1 100644 --- a/examples/vm_power_manager/main.c +++ b/examples/vm_power_manager/main.c @@ -52,7 +52,6 @@ #include #include #include -#include #include "channel_manager.h" #include "channel_monitor.h" diff --git a/examples/vm_power_manager/power_manager.c b/examples/vm_power_manager/power_manager.c index 60da96c..2644fce 100644 --- a/examples/vm_power_manager/power_manager.c +++ b/examples/vm_power_manager/power_manager.c @@ -43,7 +43,6 @@ #include -#include #include #include #include diff --git a/examples/vm_power_manager/vm_power_cli.c b/examples/vm_power_manager/vm_power_cli.c index 7690d14..c5e8d93 100644 --- a/examples/vm_power_manager/vm_power_cli.c +++ b/examples/vm_power_manager/vm_power_cli.c @@ -45,7 +45,6 @@ #include #include #include -#include #include "vm_power_cli.h" #include "channel_manager.h" diff --git a/lib/librte_eal/linuxapp/kni/kni_misc.c b/lib/librte_eal/linuxapp/kni/kni_misc.c index f5f18f0..ae8133f 100644 --- a/lib/librte_eal/linuxapp/kni/kni_misc.c +++ b/lib/librte_eal/linuxapp/kni/kni_misc.c @@ -35,7 +35,6 @@ #include #include "kni_dev.h" -#include MODULE_LICENSE("Dual BSD/GPL"); MODULE_AUTHOR("Intel Corporation"); diff --git a/lib/librte_eal/linuxapp/kni/kni_net.c b/lib/librte_eal/linuxapp/kni/kni_net.c index ab5add4..e02edcb 100644 --- a/lib/librte_eal/linuxapp/kni/kni_net.c +++ b/lib/librte_eal/linuxapp/kni/kni_net.c @@ -36,7 +36,6 @@ #include #include -#include #include #include #include "kni_dev.h" diff --git a/lib/librte_eal/linuxapp/xen_dom0/dom0_mm_misc.c b/lib/librte_eal/linuxapp/xen_dom0/dom0_mm_misc.c index bfe0af8..79630ba 100644 --- a/lib/librte_eal/linuxapp/xen_dom0/dom0_mm_misc.c +++ b/lib/librte_eal/linuxapp/xen_dom0/dom0_mm_misc.c @@ -71,7 +71,6 @@ #include #include -#include #include #include "compat.h" diff --git a/lib/librte_power/guest_channel.c b/lib/librte_power/guest_channel.c index 2295665..d6b6d0a 100644 --- a/lib/librte_power/guest_channel.c +++ b/lib/librte_power/guest_channel.c @@ -42,7 +42,6 @@ #include -#include #include "guest_channel.h" #include "channel_commands.h" diff --git a/lib/librte_power/rte_power_kvm_vm.c b/lib/librte_power/rte_power_kvm_vm.c index 11596c3..7bb2774 100644 --- a/lib/librte_power/rte_power_kvm_vm.c +++ b/lib/librte_power/rte_power_kvm_vm.c @@ -34,7 +34,6 @@ #include #include -#include #include "guest_channel.h" #include "channel_commands.h" -- 2.7.0