diff options
author | Jere Leppänen <jere.leppanen@nokia.com> | 2021-11-03 16:15:15 +0200 |
---|---|---|
committer | Matias Elo <matias.elo@nokia.com> | 2021-11-12 09:44:18 +0200 |
commit | c4b1cde446777a397c99058de5c19aeffe1faacc (patch) | |
tree | 8ea5cd0f27005f655f6efe9d9ed4e49271cfb683 /example | |
parent | ffce66a6945b62f10c37ab4b415810ae520828c4 (diff) |
helper: cli: remove unused instance parameter from odph_cli_init()
Now that the CLI helper no longer creates a thread, the ODP instance
is not needed by odph_cli_init().
Signed-off-by: Jere Leppänen <jere.leppanen@nokia.com>
Reviewed-by: Matias Elo <matias.elo@nokia.com>
Diffstat (limited to 'example')
-rw-r--r-- | example/cli/odp_cli.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/example/cli/odp_cli.c b/example/cli/odp_cli.c index 48badb5cd..5f87b2a78 100644 --- a/example/cli/odp_cli.c +++ b/example/cli/odp_cli.c @@ -160,7 +160,7 @@ int main(int argc, char *argv[]) cli_param.port = opt.port; /* Initialize CLI helper. */ - if (odph_cli_init(inst, &cli_param)) { + if (odph_cli_init(&cli_param)) { ODPH_ERR("CLI helper initialization failed.\n"); exit(EXIT_FAILURE); } |