sched/module: remove redundant unlock
Signed-off-by: chao.an <anchao@xiaomi.com>
This commit is contained in:
parent
3f6626f765
commit
479d196208
@ -175,7 +175,6 @@ FAR void *insmod(FAR const char *filename, FAR const char *modname)
|
||||
|
||||
if (modlib_registry_find(modname) != NULL)
|
||||
{
|
||||
modlib_registry_unlock();
|
||||
ret = -EEXIST;
|
||||
goto errout_with_lock;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user