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

Signed-off-by: Bruce Richardson <[email protected]>
---
 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

Reply via email to