eal: remove unnecessary dirent.h include
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.
Signed-off-by Jeff Shaw <[email protected]>
--- 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
@@ -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
@@ -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 Rami Rosen <[email protected]>
Quoted 37 lines · Jeff Shaw
Prior to this patch, the two affected .c files include <
dirent.h> unnecessarily. This commit removes the include lines.Signed-off-by Jeff Shaw <[email protected]>--- 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@@ -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@@ -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
Ferruh Yigit
Reviewed-byQuoted 9 lines · Rami Rosen
Quoted 5 lines · Jeff Shaw
Prior to this patch, the two affected .c files include <
dirent.h> unnecessarily. This commit removes the include lines.Signed-off-by Jeff Shaw <[email protected]>Reviewed-by Rami Rosen <[email protected]>
Reviewed-by Ferruh Yigit <[email protected]>
Thomas Monjalon
Applied18/12/2018 00:58, Ferruh Yigit:
Quoted 11 lines · Rami Rosen
Quoted 8 lines · Jeff Shaw
Quoted 5 lines
Prior to this patch, the two affected .c files include <
dirent.h> unnecessarily. This commit removes the include lines.Signed-off-by Jeff Shaw <[email protected]>Reviewed-by Rami Rosen <[email protected]>Reviewed-by Ferruh Yigit <[email protected]>
Applied, thanks