diff options
author | nanger <zhenyinan@huawei.com> | 2018-08-21 09:54:07 +0800 |
---|---|---|
committer | nanger <zhenyinan@huawei.com> | 2018-08-21 10:00:47 +0800 |
commit | 941b368b03f2fc26538bba3e7e4c9c36841b3456 (patch) | |
tree | 8f25311ca86613efbddf04235834dd24d71153df /src/nSocket/nstack/nstack.c | |
parent | 866a942c3581440bef9ebda5d84c039490bb3179 (diff) |
Refactor: remove rd-table share memory
DMM should not share rd table with protocol stack.
Change-Id: I8e1afb708c9b785a382c157102ebbc228e550ea5
Signed-off-by: nanger <zhenyinan@huawei.com>
Diffstat (limited to 'src/nSocket/nstack/nstack.c')
-rw-r--r-- | src/nSocket/nstack/nstack.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/nSocket/nstack/nstack.c b/src/nSocket/nstack/nstack.c index 8718091..4b01961 100644 --- a/src/nSocket/nstack/nstack.c +++ b/src/nSocket/nstack/nstack.c @@ -34,7 +34,6 @@ #include "nstack_fd_mng.h" #include "nstack_info_parse.h" #include "nstack_dmm_adpt.h" -#include "nstack_rd_mng.h" #include "nstack_rd.h" #include "nstack_module.h" #include "nstack_select.h" @@ -447,16 +446,13 @@ nstack_init_shmem () NSTACK_STATIC int nstack_init_mem (void) { - int ret = ns_fail; - int initflag = 0; int deploytype = nstack_get_deploy_type (); /* record unmatched app version*/ /* check lib version match - Begin */ if (deploytype != NSTACK_MODEL_TYPE1 && deploytype != NSTACK_MODEL_TYPE_SIMPLE_STACK ) { check_main_version (); - initflag = 1; } ret = nstack_init_shmem (); @@ -466,14 +462,6 @@ nstack_init_mem (void) return ns_fail; } - /*stack-x rd mng init*/ - ret = nstack_rd_mng_int(initflag); - if (ns_success != ret) - { - NSSOC_LOGERR("nstack_rd_mng_int fail"); - return ns_fail; - } - /*rd info sys*/ ret = nstack_rd_sys(); if (ns_success != ret) |