[dpdk-dev] [PATCH] drivers/net: remove duplicated includes
Thomas Monjalon
thomas at monjalon.net
Mon Apr 16 12:32:15 CEST 2018
Duplicated includes are found with devtools/check-dup-includes.sh
Signed-off-by: Thomas Monjalon <thomas at monjalon.net>
---
drivers/net/axgbe/axgbe_common.h | 1 -
drivers/net/nfp/nfpcore/nfp_cpp_pcie_ops.c | 1 -
2 files changed, 2 deletions(-)
diff --git a/drivers/net/axgbe/axgbe_common.h b/drivers/net/axgbe/axgbe_common.h
index 97a80f595..d25d54cac 100644
--- a/drivers/net/axgbe/axgbe_common.h
+++ b/drivers/net/axgbe/axgbe_common.h
@@ -34,7 +34,6 @@
#include <rte_ethdev.h>
#include <rte_dev.h>
#include <rte_errno.h>
-#include <rte_dev.h>
#include <rte_ethdev_pci.h>
#include <rte_common.h>
#include <rte_cycles.h>
diff --git a/drivers/net/nfp/nfpcore/nfp_cpp_pcie_ops.c b/drivers/net/nfp/nfpcore/nfp_cpp_pcie_ops.c
index ad6ce72fe..d26e782bb 100644
--- a/drivers/net/nfp/nfpcore/nfp_cpp_pcie_ops.c
+++ b/drivers/net/nfp/nfpcore/nfp_cpp_pcie_ops.c
@@ -23,7 +23,6 @@
#include <stdbool.h>
#include <fcntl.h>
#include <string.h>
-#include <unistd.h>
#include <errno.h>
#include <dirent.h>
#include <libgen.h>
--
2.16.2
More information about the dev
mailing list