patches for DPDK stable branches
 help / color / mirror / Atom feed
From: maox.jiang@intel.com
To: stable@dpdk.org
Cc: bluca@debian.org, yliu@fridaylinux.org, taox.zhu@intel.com,
	Jiang Mao <maox.jiang@intel.com>
Subject: [dpdk-stable] [PATCH] test/test: fix the backport which left a unused variable
Date: Tue, 18 Feb 2020 06:07:08 -0500	[thread overview]
Message-ID: <1582024028-79735-1-git-send-email-maox.jiang@intel.com> (raw)

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


                 reply	other threads:[~2020-02-18  3:09 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1582024028-79735-1-git-send-email-maox.jiang@intel.com \
    --to=maox.jiang@intel.com \
    --cc=bluca@debian.org \
    --cc=stable@dpdk.org \
    --cc=taox.zhu@intel.com \
    --cc=yliu@fridaylinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).