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

Bruce Richardson
2025-11-07T15:54:17Z

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

Signed-off-by: Bruce Richardson <bruce.richardson@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