[RFC PATCH v2 27/33] app/test-flow-perf: remove unneeded variable

Bruce Richardson bruce.richardson at intel.com
Fri Nov 7 16:50:23 CET 2025


Remove an unnecessary second definition of a char * variable called
"token" when processing commandline args.

Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
---
 app/test-flow-perf/main.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/app/test-flow-perf/main.c b/app/test-flow-perf/main.c
index b2084b93dd..53c92c4bec 100644
--- a/app/test-flow-perf/main.c
+++ b/app/test-flow-perf/main.c
@@ -916,7 +916,6 @@ args_parse(int argc, char **argv)
 			if (strcmp(lgopts[opt_idx].name,
 					"port-id") == 0) {
 				uint16_t port_idx = 0;
-				char *token;
 
 				token = strtok(optarg, ",");
 				while (token != NULL) {
-- 
2.48.1



More information about the dev mailing list