]> git.droids-corp.org - dpdk.git/commitdiff
lib: remove duplicate includes
authorStephen Hemminger <stephen@networkplumber.org>
Tue, 11 Jul 2017 18:55:29 +0000 (11:55 -0700)
committerThomas Monjalon <thomas@monjalon.net>
Sun, 16 Jul 2017 15:30:06 +0000 (17:30 +0200)
Include files only need to be refrenced once per file.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
19 files changed:
lib/librte_acl/rte_acl_osdep.h
lib/librte_cmdline/cmdline_parse_etheraddr.c
lib/librte_distributor/rte_distributor.c
lib/librte_eal/bsdapp/eal/eal.c
lib/librte_eal/bsdapp/eal/eal_pci.c
lib/librte_eal/bsdapp/eal/eal_thread.c
lib/librte_eal/common/eal_common_dev.c
lib/librte_eal/common/eal_common_tailqs.c
lib/librte_eal/common/include/generic/rte_io.h
lib/librte_eal/common/rte_keepalive.c
lib/librte_eal/linuxapp/eal/eal.c
lib/librte_eal/linuxapp/eal/eal_memory.c
lib/librte_eal/linuxapp/eal/eal_thread.c
lib/librte_eal/linuxapp/eal/eal_xen_memory.c
lib/librte_ether/rte_ethdev.h
lib/librte_hash/rte_cuckoo_hash.c
lib/librte_lpm/rte_lpm.c
lib/librte_lpm/rte_lpm6.c
lib/librte_timer/rte_timer.c

index 41f7e3d4d146663da1162ecb49a438f43fb3a475..9e4af530818f0b9438ec2ba528538116c379d39a 100644 (file)
@@ -74,7 +74,6 @@
 #include <rte_errno.h>
 #include <rte_string_fns.h>
 #include <rte_cpuflags.h>
-#include <rte_log.h>
 #include <rte_debug.h>
 
 #endif /* _RTE_ACL_OSDEP_H_ */
index dbfe4a61341337446ba3ae9675137aa361208159..da02d2c9f8cb99d9cad8fda446888fd0b7f7de41 100644 (file)
@@ -65,7 +65,6 @@
 #include <inttypes.h>
 #include <ctype.h>
 #include <string.h>
-#include <errno.h>
 #include <sys/types.h>
 #include <net/ethernet.h>
 
index c4e31b8c4245185eb89120e02eedf2a4dba2cf5b..20ba9ffbc84c9f0b84f59cfe4e59f0c31d024341 100644 (file)
@@ -41,7 +41,6 @@
 #include <rte_errno.h>
 #include <rte_string_fns.h>
 #include <rte_eal_memconfig.h>
-#include <rte_compat.h>
 #include <rte_pause.h>
 
 #include "rte_distributor_private.h"
index 05f0c1f90d6236ca3930e18736dd757b3164ecc3..83801d5ba9406417beaf052c2cf3a4ee23d517c7 100644 (file)
@@ -45,7 +45,6 @@
 #include <stddef.h>
 #include <errno.h>
 #include <limits.h>
-#include <errno.h>
 #include <sys/mman.h>
 #include <sys/queue.h>
 
@@ -69,7 +68,6 @@
 #include <rte_pci.h>
 #include <rte_dev.h>
 #include <rte_devargs.h>
-#include <rte_common.h>
 #include <rte_version.h>
 #include <rte_atomic.h>
 #include <malloc_heap.h>
index e321461d82e68fe3029c5f99a1c2e4818dd4dac1..dcb3b51ad0357e4045ad576bacbabfe47bc79a7c 100644 (file)
@@ -41,7 +41,6 @@
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <fcntl.h>
-#include <stdarg.h>
 #include <errno.h>
 #include <dirent.h>
 #include <limits.h>
@@ -52,7 +51,6 @@
 #include <dev/pci/pcireg.h>
 
 #if defined(RTE_ARCH_X86)
-#include <sys/types.h>
 #include <machine/cpufunc.h>
 #endif
 
index 1b8cd8a65794dc7ddbc38493d9a11b8f657a2ba7..783d68c5c62232bb058aec56ee5b0a7313febddc 100644 (file)
@@ -49,7 +49,6 @@
 #include <rte_memzone.h>
 #include <rte_per_lcore.h>
 #include <rte_eal.h>
-#include <rte_per_lcore.h>
 #include <rte_lcore.h>
 
 #include "eal_private.h"
index 32e12b5b9f3f99ce9579a4dfa70600fbbbf23116..78b6fc058351b74c85d427ee12c24bfe497d7427 100644 (file)
@@ -41,7 +41,6 @@
 #include <rte_dev.h>
 #include <rte_devargs.h>
 #include <rte_debug.h>
-#include <rte_devargs.h>
 #include <rte_log.h>
 
 #include "eal_private.h"
index 4f6982883ce72fd0235d2e66a562cf8b8cc81746..55955f9eb5c9c22921d891f282f5bf2fb14b1210 100644 (file)
@@ -46,7 +46,6 @@
 #include <rte_eal_memconfig.h>
 #include <rte_per_lcore.h>
 #include <rte_lcore.h>
-#include <rte_memory.h>
 #include <rte_atomic.h>
 #include <rte_branch_prediction.h>
 #include <rte_log.h>
index 3519e1bbab8eea7662fc5d3fc5c5480d071ce0a5..0b88c3414515af19c0dfb672abd2360e03b34309 100644 (file)
@@ -34,8 +34,6 @@
 #ifndef _RTE_IO_H_
 #define _RTE_IO_H_
 
-#include <rte_atomic.h>
-
 /**
  * @file
  * I/O device memory operations
index 9765d1bd91a164c0176b4f61846c49dbc8070fb4..cdd6956054d04561edb5e80180978bb3520d986b 100644 (file)
@@ -38,7 +38,6 @@
 #include <rte_log.h>
 #include <rte_keepalive.h>
 #include <rte_malloc.h>
-#include <rte_cycles.h>
 
 struct rte_keepalive {
        /** Core Liveness. */
index 7c78f2dc248e4cf91fd0c64ddb241d28a6c7b474..d03d8e3fa19e1af93f502b0ea6db4296912fa4ec 100644 (file)
@@ -46,7 +46,6 @@
 #include <stddef.h>
 #include <errno.h>
 #include <limits.h>
-#include <errno.h>
 #include <sys/mman.h>
 #include <sys/queue.h>
 #include <sys/stat.h>
@@ -74,7 +73,6 @@
 #include <rte_pci.h>
 #include <rte_dev.h>
 #include <rte_devargs.h>
-#include <rte_common.h>
 #include <rte_version.h>
 #include <rte_atomic.h>
 #include <malloc_heap.h>
index 040f24a43ca043aabcf18fdeeba005de2dca867b..daead31c27d2ca166be2e62c0889be9633771767 100644 (file)
@@ -41,7 +41,6 @@
 #include <stdint.h>
 #include <inttypes.h>
 #include <string.h>
-#include <stdarg.h>
 #include <sys/mman.h>
 #include <sys/types.h>
 #include <sys/stat.h>
@@ -49,7 +48,6 @@
 #include <sys/file.h>
 #include <unistd.h>
 #include <limits.h>
-#include <errno.h>
 #include <sys/ioctl.h>
 #include <sys/time.h>
 #include <signal.h>
index 9f88530ea131e5153fccc10e38fec887f07e3ece..fba1a0070e6f2fa15d2540b1e53751b0d3ca36d2 100644 (file)
@@ -49,7 +49,6 @@
 #include <rte_memzone.h>
 #include <rte_per_lcore.h>
 #include <rte_eal.h>
-#include <rte_per_lcore.h>
 #include <rte_lcore.h>
 
 #include "eal_private.h"
index bddbdb072c19c71f38b0ee6225cb9208014b652f..19db1cb5fde56a43c4f4fd8bbb9c6af228535041 100644 (file)
@@ -38,7 +38,6 @@
 #include <stdint.h>
 #include <inttypes.h>
 #include <string.h>
-#include <stdarg.h>
 #include <sys/mman.h>
 #include <sys/types.h>
 #include <sys/stat.h>
@@ -46,7 +45,6 @@
 #include <sys/file.h>
 #include <unistd.h>
 #include <limits.h>
-#include <errno.h>
 #include <sys/ioctl.h>
 #include <sys/time.h>
 
index f6837278521ce2c4534ce8b041530641aac96982..224f485069d3d5b46aa34991adb96c49799daf73 100644 (file)
@@ -172,8 +172,6 @@ extern "C" {
 
 #include <stdint.h>
 
-#include <rte_dev.h>
-
 /* Use this macro to check if LRO API is supported */
 #define RTE_ETHDEV_HAS_LRO_SUPPORT
 
index 5b2b8ddeb098bdf50269e5e72b911eb532a4675c..87b25c016a7107e25bbdad083661504d5fb94939 100644 (file)
@@ -52,7 +52,6 @@
 #include <rte_errno.h>
 #include <rte_string_fns.h>
 #include <rte_cpuflags.h>
-#include <rte_log.h>
 #include <rte_rwlock.h>
 #include <rte_spinlock.h>
 #include <rte_ring.h>
index 978ac6013ecf39aeb29aee368d7c1f83af8f9fab..64c074e987e94e0a223c9ceb89a398822c0e5fe1 100644 (file)
@@ -36,7 +36,6 @@
 #include <errno.h>
 #include <stdarg.h>
 #include <stdio.h>
-#include <errno.h>
 #include <sys/queue.h>
 
 #include <rte_log.h>
index 9cc7be77dd78446a7f998dc46ed6c96df3d448e3..b4a7df348806edd5107c61f727042b6b11346fb2 100644 (file)
@@ -35,7 +35,6 @@
 #include <errno.h>
 #include <stdarg.h>
 #include <stdio.h>
-#include <errno.h>
 #include <sys/queue.h>
 
 #include <rte_log.h>
index dda9baf5506d5941e76f4cb032980d08444c582b..5ee0840800605e9ca3c6a2c55367db852fa83e5c 100644 (file)
@@ -46,7 +46,6 @@
 #include <rte_memzone.h>
 #include <rte_launch.h>
 #include <rte_eal.h>
-#include <rte_per_lcore.h>
 #include <rte_lcore.h>
 #include <rte_branch_prediction.h>
 #include <rte_spinlock.h>