diff options
author | Jere Leppänen <jere.leppanen@nokia.com> | 2021-08-10 17:23:05 +0300 |
---|---|---|
committer | Petri Savolainen <petri.savolainen@nokia.com> | 2021-09-30 11:10:11 +0300 |
commit | aa6f29c285abfdadd77bb3a8a14a63b9ef6ec81b (patch) | |
tree | 20f98003e8c5b98be8832dd419725a5be1fb3a22 /helper | |
parent | 11cc264d989d28135cfa6783197fdec39b9c8f61 (diff) |
use odph_thread_param_init()
Use the new odph_thread_param_init() function to initialize
odph_thread_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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helper/cli.c b/helper/cli.c index d5d06af5b..c14bc9fab 100644 --- a/helper/cli.c +++ b/helper/cli.c @@ -706,7 +706,7 @@ int odph_cli_start(void) thr_common.instance = shm->instance; thr_common.cpumask = &cpumask; - memset(&thr_param, 0, sizeof(thr_param)); + odph_thread_param_init(&thr_param); thr_param.thr_type = ODP_THREAD_CONTROL; thr_param.start = cli_server; |