[dpdk-stable] [PATCH] test/test: fix the backport which left a unused variable

maox.jiang at intel.com maox.jiang at intel.com
Tue Feb 18 12:07:08 CET 2020


From: Jiang Mao <maox.jiang at intel.com>

This backport which was adjusted but not enough and the unused variable was left behind. Fix it with deleting the unused variable.

Signed-off-by: Jiang Mao <maox.jiang at intel.com>

Fixes: 0ecbf7984bb0 ("test: optimise fd closing in forks")
---
Note: This patch just fixes v17.11.10-rc1, the other version have no compiling error.
 test/test/process.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/test/test/process.h b/test/test/process.h
index 505d2f9..1c369e8 100644
--- a/test/test/process.h
+++ b/test/test/process.h
@@ -56,7 +56,6 @@
 	int num;
 	char *argv_cpy[numargs + 1];
 	int i, status;
-	char path[32];
 
 	pid_t pid = fork();
 	if (pid < 0)
-- 
1.8.3.1



More information about the stable mailing list