summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorStephen Hemminger <stephen@networkplumber.org>2017-07-11 11:55:45 -0700
committerThomas Monjalon <thomas@monjalon.net>2017-07-16 17:30:25 +0200
commite9bffce7811c67d141a86d12f25ee0b22cca82d9 (patch)
treeb168c99a107acbe94ccb9544f1cdec29efafa74b /test
parent7a881bc7e6fe7c153b6fe00770b8b00f671ff19a (diff)
downloaddpdk-e9bffce7811c67d141a86d12f25ee0b22cca82d9.zip
dpdk-e9bffce7811c67d141a86d12f25ee0b22cca82d9.tar.gz
dpdk-e9bffce7811c67d141a86d12f25ee0b22cca82d9.tar.xz
test: remove duplicate includes
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Diffstat (limited to 'test')
-rw-r--r--test/test-pipeline/config.c1
-rw-r--r--test/test-pipeline/init.c1
-rw-r--r--test/test-pipeline/main.c1
-rw-r--r--test/test-pipeline/runtime.c2
-rw-r--r--test/test/test_alarm.c1
-rw-r--r--test/test/test_atomic.c1
-rw-r--r--test/test/test_cryptodev_blockcipher.c1
-rw-r--r--test/test/test_eal_flags.c1
-rw-r--r--test/test/test_malloc.c1
-rw-r--r--test/test/test_mbuf.c1
-rw-r--r--test/test/test_mp_secondary.c4
-rw-r--r--test/test/test_per_lcore.c1
-rw-r--r--test/test/test_reorder.c4
-rw-r--r--test/test/test_ring.c1
-rw-r--r--test/test/test_rwlock.c1
-rw-r--r--test/test/test_spinlock.c1
16 files changed, 1 insertions, 22 deletions
diff --git a/test/test-pipeline/config.c b/test/test-pipeline/config.c
index 1b397c0..eebb810 100644
--- a/test/test-pipeline/config.c
+++ b/test/test-pipeline/config.c
@@ -55,7 +55,6 @@
#include <rte_cycles.h>
#include <rte_prefetch.h>
#include <rte_lcore.h>
-#include <rte_per_lcore.h>
#include <rte_branch_prediction.h>
#include <rte_interrupts.h>
#include <rte_pci.h>
diff --git a/test/test-pipeline/init.c b/test/test-pipeline/init.c
index 00dbc27..1457c78 100644
--- a/test/test-pipeline/init.c
+++ b/test/test-pipeline/init.c
@@ -55,7 +55,6 @@
#include <rte_cycles.h>
#include <rte_prefetch.h>
#include <rte_lcore.h>
-#include <rte_per_lcore.h>
#include <rte_branch_prediction.h>
#include <rte_interrupts.h>
#include <rte_pci.h>
diff --git a/test/test-pipeline/main.c b/test/test-pipeline/main.c
index 71ab6ad..795b1ae 100644
--- a/test/test-pipeline/main.c
+++ b/test/test-pipeline/main.c
@@ -56,7 +56,6 @@
#include <rte_cycles.h>
#include <rte_prefetch.h>
#include <rte_lcore.h>
-#include <rte_per_lcore.h>
#include <rte_branch_prediction.h>
#include <rte_interrupts.h>
#include <rte_pci.h>
diff --git a/test/test-pipeline/runtime.c b/test/test-pipeline/runtime.c
index 8970e1c..cb02fff 100644
--- a/test/test-pipeline/runtime.c
+++ b/test/test-pipeline/runtime.c
@@ -54,8 +54,6 @@
#include <rte_atomic.h>
#include <rte_cycles.h>
#include <rte_prefetch.h>
-#include <rte_lcore.h>
-#include <rte_per_lcore.h>
#include <rte_branch_prediction.h>
#include <rte_interrupts.h>
#include <rte_pci.h>
diff --git a/test/test/test_alarm.c b/test/test/test_alarm.c
index 40f55b5..2d16d6f 100644
--- a/test/test/test_alarm.c
+++ b/test/test/test_alarm.c
@@ -37,7 +37,6 @@
#include <rte_common.h>
#include <rte_cycles.h>
#include <rte_interrupts.h>
-#include <rte_common.h>
#include <rte_atomic.h>
#include <rte_alarm.h>
diff --git a/test/test/test_atomic.c b/test/test/test_atomic.c
index b5e7e1b..c68723a 100644
--- a/test/test/test_atomic.c
+++ b/test/test/test_atomic.c
@@ -42,7 +42,6 @@
#include <rte_launch.h>
#include <rte_atomic.h>
#include <rte_eal.h>
-#include <rte_per_lcore.h>
#include <rte_lcore.h>
#include "test.h"
diff --git a/test/test/test_cryptodev_blockcipher.c b/test/test/test_cryptodev_blockcipher.c
index e822c96..6089af4 100644
--- a/test/test/test_cryptodev_blockcipher.c
+++ b/test/test/test_cryptodev_blockcipher.c
@@ -47,7 +47,6 @@
#include "test_cryptodev_aes_test_vectors.h"
#include "test_cryptodev_des_test_vectors.h"
#include "test_cryptodev_hash_test_vectors.h"
-#include "test_cryptodev.h"
static int
test_blockcipher_one_case(const struct blockcipher_test_case *t,
diff --git a/test/test/test_eal_flags.c b/test/test/test_eal_flags.c
index 4afb364..594d79d 100644
--- a/test/test/test_eal_flags.c
+++ b/test/test/test_eal_flags.c
@@ -38,7 +38,6 @@
#include <string.h>
#include <stdarg.h>
#include <libgen.h>
-#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include <unistd.h>
diff --git a/test/test/test_malloc.c b/test/test/test_malloc.c
index fcd8b86..013fd44 100644
--- a/test/test/test_malloc.c
+++ b/test/test/test_malloc.c
@@ -45,7 +45,6 @@
#include <rte_per_lcore.h>
#include <rte_launch.h>
#include <rte_eal.h>
-#include <rte_per_lcore.h>
#include <rte_lcore.h>
#include <rte_malloc.h>
#include <rte_cycles.h>
diff --git a/test/test/test_mbuf.c b/test/test/test_mbuf.c
index 2057a51..3396b4a 100644
--- a/test/test/test_mbuf.c
+++ b/test/test/test_mbuf.c
@@ -43,7 +43,6 @@
#include <rte_common.h>
#include <rte_debug.h>
#include <rte_log.h>
-#include <rte_common.h>
#include <rte_memory.h>
#include <rte_memcpy.h>
#include <rte_memzone.h>
diff --git a/test/test/test_mp_secondary.c b/test/test/test_mp_secondary.c
index 94042e5..0b93a2d 100644
--- a/test/test/test_mp_secondary.c
+++ b/test/test/test_mp_secondary.c
@@ -41,11 +41,7 @@
#include <inttypes.h>
#include <sys/queue.h>
#include <errno.h>
-#include <stdarg.h>
-#include <inttypes.h>
#include <string.h>
-#include <stdlib.h>
-#include <stdarg.h>
#include <unistd.h>
#include <sys/wait.h>
#include <libgen.h>
diff --git a/test/test/test_per_lcore.c b/test/test/test_per_lcore.c
index 747513d..247e171 100644
--- a/test/test/test_per_lcore.c
+++ b/test/test/test_per_lcore.c
@@ -41,7 +41,6 @@
#include <rte_per_lcore.h>
#include <rte_launch.h>
#include <rte_eal.h>
-#include <rte_per_lcore.h>
#include <rte_lcore.h>
#include <rte_cycles.h>
diff --git a/test/test/test_reorder.c b/test/test/test_reorder.c
index e8a0a2f..4ec22ac 100644
--- a/test/test/test_reorder.c
+++ b/test/test/test_reorder.c
@@ -31,9 +31,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include "test.h"
-#include "stdio.h"
-
+#include <stdio.h>
#include <unistd.h>
#include <string.h>
diff --git a/test/test/test_ring.c b/test/test/test_ring.c
index d68654e..d664b04 100644
--- a/test/test/test_ring.c
+++ b/test/test/test_ring.c
@@ -54,7 +54,6 @@
#include <rte_malloc.h>
#include <rte_ring.h>
#include <rte_random.h>
-#include <rte_common.h>
#include <rte_errno.h>
#include <rte_hexdump.h>
diff --git a/test/test/test_rwlock.c b/test/test/test_rwlock.c
index 50f58ad..3dd2ed4 100644
--- a/test/test/test_rwlock.c
+++ b/test/test/test_rwlock.c
@@ -44,7 +44,6 @@
#include <rte_atomic.h>
#include <rte_rwlock.h>
#include <rte_eal.h>
-#include <rte_per_lcore.h>
#include <rte_lcore.h>
#include <rte_cycles.h>
diff --git a/test/test/test_spinlock.c b/test/test/test_spinlock.c
index b86cd88..a93f1ba 100644
--- a/test/test/test_spinlock.c
+++ b/test/test/test_spinlock.c
@@ -44,7 +44,6 @@
#include <rte_per_lcore.h>
#include <rte_launch.h>
#include <rte_eal.h>
-#include <rte_per_lcore.h>
#include <rte_lcore.h>
#include <rte_cycles.h>
#include <rte_spinlock.h>