summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorThomas Monjalon <thomas@monjalon.net>2017-11-02 22:35:02 +0100
committerThomas Monjalon <thomas@monjalon.net>2017-11-06 21:56:07 +0100
commitf1a7a5c5f4048e578c9271b441f302b33d73864b (patch)
tree42d6d8937f60789d94c32f7484bfb499e23b2f21 /lib
parent17715a53395c7bf27124e625d6598b28d8a1cc00 (diff)
downloaddpdk-f1a7a5c5f404.zip
dpdk-f1a7a5c5f404.tar.gz
dpdk-f1a7a5c5f404.tar.xz
remove include of generated config header
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 <thomas@monjalon.net>
Diffstat (limited to 'lib')
-rw-r--r--lib/librte_eal/common/include/rte_dev.h1
-rw-r--r--lib/librte_eal/common/include/rte_eal.h1
-rw-r--r--lib/librte_eal/common/include/rte_memory.h2
-rw-r--r--lib/librte_ether/ethdev_profile.c2
4 files changed, 0 insertions, 6 deletions
diff --git a/lib/librte_eal/common/include/rte_dev.h b/lib/librte_eal/common/include/rte_dev.h
index 4c4ac7e..c3f7246 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 <stdio.h>
#include <sys/queue.h>
-#include <rte_config.h>
#include <rte_log.h>
__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 3a093d1..09b6681 100644
--- a/lib/librte_eal/common/include/rte_eal.h
+++ b/lib/librte_eal/common/include/rte_eal.h
@@ -44,7 +44,6 @@
#include <sched.h>
#include <rte_per_lcore.h>
-#include <rte_config.h>
#include <rte_bus.h>
#include <rte_pci_dev_feature_defs.h>
diff --git a/lib/librte_eal/common/include/rte_memory.h b/lib/librte_eal/common/include/rte_memory.h
index 271d2bb..5a3a956 100644
--- a/lib/librte_eal/common/include/rte_memory.h
+++ b/lib/librte_eal/common/include/rte_memory.h
@@ -44,8 +44,6 @@
#include <stddef.h>
#include <stdio.h>
-#include <rte_config.h>
-
#ifdef __cplusplus
extern "C" {
#endif
diff --git a/lib/librte_ether/ethdev_profile.c b/lib/librte_ether/ethdev_profile.c
index 8792ed5..c9cb842 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 <rte_config.h>
-
#include "ethdev_profile.h"
/**