mirror of
https://github.com/apache/nuttx.git
synced 2026-05-30 13:27:01 +08:00
sem:remove sem default protocl
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
This commit is contained in:
@@ -102,7 +102,6 @@ int mempool_init(FAR struct mempool_s *pool, FAR const char *name,
|
||||
}
|
||||
|
||||
nxsem_init(&pool->wait, 0, 0);
|
||||
nxsem_set_protocol(&pool->wait, SEM_PRIO_NONE);
|
||||
|
||||
#ifndef CONFIG_FS_PROCFS_EXCLUDE_MEMPOOL
|
||||
mempool_procfs_register(&pool->procfs, name);
|
||||
|
||||
Reference in New Issue
Block a user