Skip to contentSkip to conversation

eal: remove unnecessary dirent.h include

PATCH Applied Jeff Shaw 4 participants 4 messages Dec 14, 2018 – Dec 19, 2018

lore
Share & tools
lore

Jeff Shaw

author
#0 lore raw

PATCH 1/1 eal: remove unnecessary dirent.h include

Prior to this patch, the two affected .c files include <dirent.h> unnecessarily. This commit removes the include lines.

---
 lib/librte_eal/common/eal_common_lcore.c | 1 -
 lib/librte_eal/common/rte_service.c      | 1 -
 2 files changed, 2 deletions(-)
lib/librte_eal/common/eal_common_lcore.c +0 -1
index 3167e9d79..1cbac4228 100644
@@ -5,7 +5,6 @@
 #include <unistd.h>
 #include <limits.h>
 #include <string.h>
-#include <dirent.h>
 
 #include <rte_errno.h>
 #include <rte_log.h>
lib/librte_eal/common/rte_service.c +0 -1
index 0f3695c4b..03fde97a9 100644
@@ -7,7 +7,6 @@
 #include <inttypes.h>
 #include <limits.h>
 #include <string.h>
-#include <dirent.h>
 
 #include <rte_compat.h>
 #include <rte_service.h>
Signature · 1 line
2.14.3
Reviewed-by on v1 1/1
#1 lore raw
Quoted 37 lines · Jeff Shaw

Prior to this patch, the two affected .c files include <dirent.h> unnecessarily. This commit removes the include lines.

---
 lib/librte_eal/common/eal_common_lcore.c | 1 -
 lib/librte_eal/common/rte_service.c      | 1 -
 2 files changed, 2 deletions(-)
lib/librte_eal/common/eal_common_lcore.c +0 -1
index 3167e9d79..1cbac4228 100644
@@ -5,7 +5,6 @@
 #include <unistd.h>
 #include <limits.h>
 #include <string.h>
-#include <dirent.h>
 
 #include <rte_errno.h>
 #include <rte_log.h>
lib/librte_eal/common/rte_service.c +0 -2
index 0f3695c4b..03fde97a9 100644
@@ -7,7 +7,6 @@
 #include <inttypes.h>
 #include <limits.h>
 #include <string.h>
-#include <dirent.h>
 
 #include <rte_compat.h>
 #include <rte_service.h>
--

2.14.3