patches for DPDK stable branches
 help / color / mirror / Atom feed
* [dpdk-stable] [PATCH] test/test: fix the backport which left a unused variable
@ 2020-02-18 11:07 maox.jiang
  0 siblings, 0 replies; only message in thread
From: maox.jiang @ 2020-02-18 11:07 UTC (permalink / raw)
  To: stable; +Cc: bluca, yliu, taox.zhu, Jiang Mao

From: Jiang Mao <maox.jiang@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@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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-02-18  3:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-18 11:07 [dpdk-stable] [PATCH] test/test: fix the backport which left a unused variable maox.jiang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).