eal: remove unnecessary dirent.h include
authorJeff Shaw <jeffrey.b.shaw@intel.com>
Fri, 14 Dec 2018 16:40:00 +0000 (08:40 -0800)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 19 Dec 2018 00:29:36 +0000 (01:29 +0100)
Prior to this patch, the two affected .c files include <dirent.h>
unnecessarily. This commit removes the include lines.

Signed-off-by: Jeff Shaw <jeffrey.b.shaw@intel.com>
Reviewed-by: Rami Rosen <ramirose@gmail.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
lib/librte_eal/common/eal_common_lcore.c
lib/librte_eal/common/rte_service.c

index 3167e9d..1cbac42 100644 (file)
@@ -5,7 +5,6 @@
 #include <unistd.h>
 #include <limits.h>
 #include <string.h>
-#include <dirent.h>
 
 #include <rte_errno.h>
 #include <rte_log.h>
index 0f3695c..03fde97 100644 (file)
@@ -7,7 +7,6 @@
 #include <inttypes.h>
 #include <limits.h>
 #include <string.h>
-#include <dirent.h>
 
 #include <rte_compat.h>
 #include <rte_service.h>