From: Thomas Monjalon Date: Sun, 16 Jul 2017 13:53:35 +0000 (+0200) Subject: examples: remove duplicate includes X-Git-Tag: spdx-start~2482 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=b59069278b70c8e040e8d34b22f99c1de2d6b1c8;p=dpdk.git examples: remove duplicate includes Signed-off-by: Thomas Monjalon --- diff --git a/examples/bond/main.c b/examples/bond/main.c index ecc6292bfd..2d019d4338 100644 --- a/examples/bond/main.c +++ b/examples/bond/main.c @@ -53,7 +53,6 @@ #include #include #include -#include #include #include #include @@ -67,10 +66,8 @@ #include #include #include -#include #include #include -#include #include #include #include diff --git a/examples/exception_path/main.c b/examples/exception_path/main.c index 229b7defae..e551e6d118 100644 --- a/examples/exception_path/main.c +++ b/examples/exception_path/main.c @@ -67,7 +67,6 @@ #include #include #include -#include #include #include #include diff --git a/examples/ip_fragmentation/main.c b/examples/ip_fragmentation/main.c index 00aefc7a5d..8c0e179110 100644 --- a/examples/ip_fragmentation/main.c +++ b/examples/ip_fragmentation/main.c @@ -50,7 +50,6 @@ #include #include #include -#include #include #include #include diff --git a/examples/ip_reassembly/main.c b/examples/ip_reassembly/main.c index 4032a69dac..e62636cb43 100644 --- a/examples/ip_reassembly/main.c +++ b/examples/ip_reassembly/main.c @@ -51,7 +51,6 @@ #include #include #include -#include #include #include #include diff --git a/examples/ipv4_multicast/main.c b/examples/ipv4_multicast/main.c index ba4ab09db3..9a13d3530c 100644 --- a/examples/ipv4_multicast/main.c +++ b/examples/ipv4_multicast/main.c @@ -49,7 +49,6 @@ #include #include #include -#include #include #include #include diff --git a/examples/kni/main.c b/examples/kni/main.c index dd6c0c3781..e3bc2fb786 100644 --- a/examples/kni/main.c +++ b/examples/kni/main.c @@ -65,7 +65,6 @@ #include #include #include -#include #include #include #include diff --git a/examples/l2fwd-jobstats/main.c b/examples/l2fwd-jobstats/main.c index 0fdfaa4992..9893620676 100644 --- a/examples/l2fwd-jobstats/main.c +++ b/examples/l2fwd-jobstats/main.c @@ -38,7 +38,6 @@ #include #include -#include #include #include #include @@ -46,7 +45,6 @@ #include #include #include -#include #include #include #include diff --git a/examples/l2fwd-keepalive/ka-agent/main.c b/examples/l2fwd-keepalive/ka-agent/main.c index be1c7f499c..ba0ac3522a 100644 --- a/examples/l2fwd-keepalive/ka-agent/main.c +++ b/examples/l2fwd-keepalive/ka-agent/main.c @@ -31,7 +31,6 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include #include #include #include diff --git a/examples/l2fwd-keepalive/main.c b/examples/l2fwd-keepalive/main.c index 3c6a9d369e..83bc542c13 100644 --- a/examples/l2fwd-keepalive/main.c +++ b/examples/l2fwd-keepalive/main.c @@ -53,7 +53,6 @@ #include #include #include -#include #include #include #include diff --git a/examples/l2fwd/main.c b/examples/l2fwd/main.c index 00759b9ae0..1426335844 100644 --- a/examples/l2fwd/main.c +++ b/examples/l2fwd/main.c @@ -54,7 +54,6 @@ #include #include #include -#include #include #include #include diff --git a/examples/l3fwd-acl/main.c b/examples/l3fwd-acl/main.c index 15638844ad..8eff4de415 100644 --- a/examples/l3fwd-acl/main.c +++ b/examples/l3fwd-acl/main.c @@ -49,7 +49,6 @@ #include #include #include -#include #include #include #include diff --git a/examples/l3fwd-power/main.c b/examples/l3fwd-power/main.c index bfd1ce055b..fd442f5efd 100644 --- a/examples/l3fwd-power/main.c +++ b/examples/l3fwd-power/main.c @@ -52,7 +52,6 @@ #include #include #include -#include #include #include #include @@ -74,7 +73,6 @@ #include #include #include -#include #include #define RTE_LOGTYPE_L3FWD_POWER RTE_LOGTYPE_USER1 diff --git a/examples/l3fwd-vf/main.c b/examples/l3fwd-vf/main.c index fcd83b82f9..34e4a6bef2 100644 --- a/examples/l3fwd-vf/main.c +++ b/examples/l3fwd-vf/main.c @@ -50,7 +50,6 @@ #include #include #include -#include #include #include #include diff --git a/examples/l3fwd/main.c b/examples/l3fwd/main.c index 70941976cb..81995fdbeb 100644 --- a/examples/l3fwd/main.c +++ b/examples/l3fwd/main.c @@ -52,7 +52,6 @@ #include #include #include -#include #include #include #include diff --git a/examples/link_status_interrupt/main.c b/examples/link_status_interrupt/main.c index 0eab042baf..f4e3969a6b 100644 --- a/examples/link_status_interrupt/main.c +++ b/examples/link_status_interrupt/main.c @@ -37,7 +37,6 @@ #include #include #include -#include #include #include #include @@ -53,7 +52,6 @@ #include #include #include -#include #include #include #include diff --git a/examples/load_balancer/config.c b/examples/load_balancer/config.c index 07f92a1ab8..5032509514 100644 --- a/examples/load_balancer/config.c +++ b/examples/load_balancer/config.c @@ -49,7 +49,6 @@ #include #include #include -#include #include #include #include diff --git a/examples/load_balancer/init.c b/examples/load_balancer/init.c index 8fe7db4066..717232e6e4 100644 --- a/examples/load_balancer/init.c +++ b/examples/load_balancer/init.c @@ -49,7 +49,6 @@ #include #include #include -#include #include #include #include diff --git a/examples/load_balancer/main.c b/examples/load_balancer/main.c index c97bf6fad2..65ceea4a85 100644 --- a/examples/load_balancer/main.c +++ b/examples/load_balancer/main.c @@ -50,7 +50,6 @@ #include #include #include -#include #include #include #include diff --git a/examples/load_balancer/runtime.c b/examples/load_balancer/runtime.c index 7f918aa457..e54b785104 100644 --- a/examples/load_balancer/runtime.c +++ b/examples/load_balancer/runtime.c @@ -49,7 +49,6 @@ #include #include #include -#include #include #include #include diff --git a/examples/multi_process/client_server_mp/mp_client/client.c b/examples/multi_process/client_server_mp/mp_client/client.c index 01b535c2bf..f8453e57ad 100644 --- a/examples/multi_process/client_server_mp/mp_client/client.c +++ b/examples/multi_process/client_server_mp/mp_client/client.c @@ -50,11 +50,9 @@ #include #include #include -#include #include #include #include -#include #include #include #include diff --git a/examples/multi_process/client_server_mp/mp_server/main.c b/examples/multi_process/client_server_mp/mp_server/main.c index c2b0261d19..7055b543a7 100644 --- a/examples/multi_process/client_server_mp/mp_server/main.c +++ b/examples/multi_process/client_server_mp/mp_server/main.c @@ -38,7 +38,6 @@ #include #include #include -#include #include #include #include @@ -47,7 +46,6 @@ #include #include #include -#include #include #include #include diff --git a/examples/multi_process/l2fwd_fork/flib.c b/examples/multi_process/l2fwd_fork/flib.c index 85bbc2d3a1..c22e983b17 100644 --- a/examples/multi_process/l2fwd_fork/flib.c +++ b/examples/multi_process/l2fwd_fork/flib.c @@ -56,7 +56,6 @@ #include #include #include -#include #include #include #include diff --git a/examples/multi_process/l2fwd_fork/main.c b/examples/multi_process/l2fwd_fork/main.c index 9ef9a7bb56..f8a626ba7a 100644 --- a/examples/multi_process/l2fwd_fork/main.c +++ b/examples/multi_process/l2fwd_fork/main.c @@ -53,7 +53,6 @@ #include #include #include -#include #include #include #include diff --git a/examples/multi_process/symmetric_mp/main.c b/examples/multi_process/symmetric_mp/main.c index 208e356839..0f497910ac 100644 --- a/examples/multi_process/symmetric_mp/main.c +++ b/examples/multi_process/symmetric_mp/main.c @@ -61,7 +61,6 @@ #include #include #include -#include #include #include #include diff --git a/examples/performance-thread/common/lthread_int.h b/examples/performance-thread/common/lthread_int.h index 3f7fb92dfb..e1da246299 100644 --- a/examples/performance-thread/common/lthread_int.h +++ b/examples/performance-thread/common/lthread_int.h @@ -59,7 +59,6 @@ * SUCH DAMAGE. */ #ifndef LTHREAD_INT_H -#include #define LTHREAD_INT_H #ifdef __cplusplus diff --git a/examples/performance-thread/l3fwd-thread/main.c b/examples/performance-thread/l3fwd-thread/main.c index c790ff975e..7954b9744e 100644 --- a/examples/performance-thread/l3fwd-thread/main.c +++ b/examples/performance-thread/l3fwd-thread/main.c @@ -52,7 +52,6 @@ #include #include #include -#include #include #include #include diff --git a/examples/server_node_efd/node/node.c b/examples/server_node_efd/node/node.c index f780b92642..86e57c890c 100644 --- a/examples/server_node_efd/node/node.c +++ b/examples/server_node_efd/node/node.c @@ -53,8 +53,6 @@ #include #include #include -#include -#include #include #include #include diff --git a/examples/server_node_efd/server/main.c b/examples/server_node_efd/server/main.c index 597b4c250d..dcdc0a48b2 100644 --- a/examples/server_node_efd/server/main.c +++ b/examples/server_node_efd/server/main.c @@ -38,7 +38,6 @@ #include #include #include -#include #include #include #include @@ -47,7 +46,6 @@ #include #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 5ac98ed3be..ac2b1fa5ad 100644 --- a/examples/vm_power_manager/guest_cli/main.c +++ b/examples/vm_power_manager/guest_cli/main.c @@ -35,12 +35,10 @@ #include #include #include -#include #include #include #include #include -#include #include */ #include diff --git a/examples/vm_power_manager/main.c b/examples/vm_power_manager/main.c index 97178d1435..c33fcc9385 100644 --- a/examples/vm_power_manager/main.c +++ b/examples/vm_power_manager/main.c @@ -34,12 +34,10 @@ #include #include #include -#include #include #include #include #include -#include #include #include diff --git a/examples/vmdq/main.c b/examples/vmdq/main.c index d096831093..8949a11569 100644 --- a/examples/vmdq/main.c +++ b/examples/vmdq/main.c @@ -49,7 +49,6 @@ #include #include #include -#include #include #include #include @@ -63,10 +62,8 @@ #include #include #include -#include #include #include -#include #define MAX_QUEUES 1024 /* diff --git a/examples/vmdq_dcb/main.c b/examples/vmdq_dcb/main.c index 4f6d47e449..b6ebccb24c 100644 --- a/examples/vmdq_dcb/main.c +++ b/examples/vmdq_dcb/main.c @@ -49,7 +49,6 @@ #include #include #include -#include #include #include #include @@ -63,10 +62,8 @@ #include #include #include -#include #include #include -#include /* basic constants used in application */ #define MAX_QUEUES 1024