aboutsummaryrefslogtreecommitdiff
path: root/helper
diff options
context:
space:
mode:
authorJere Leppänen <jere.leppanen@nokia.com>2021-08-10 17:13:38 +0300
committerPetri Savolainen <petri.savolainen@nokia.com>2021-09-30 11:10:11 +0300
commit0325d7d4aeff78171a893bd73ea6c6474bc83ddf (patch)
treecc0e6c345d7c47590a197fce44379bfcfbed0a69 /helper
parent735e84f433d0eb8be225e308eeccf958a1d64ea7 (diff)
use odph_thread_common_param_init()
Use the new odph_thread_common_param_init() function to initialize odph_thread_common_param_t. Signed-off-by: Jere Leppänen <jere.leppanen@nokia.com> Reviewed-by: Matias Elo <matias.elo@nokia.com>
Diffstat (limited to 'helper')
-rw-r--r--helper/cli.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/helper/cli.c b/helper/cli.c
index ebc5b01e1..d5d06af5b 100644
--- a/helper/cli.c
+++ b/helper/cli.c
@@ -702,7 +702,7 @@ int odph_cli_start(void)
goto error;
}
- memset(&thr_common, 0, sizeof(thr_common));
+ odph_thread_common_param_init(&thr_common);
thr_common.instance = shm->instance;
thr_common.cpumask = &cpumask;