mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-04 22:00:25 +00:00
nsh_vars: Remove rogue sched_unlock()
There is no corresponding sched_lock() for this and therefore this causes random crashes. Found when running a long init script which utilizes shell variables in SMP mode.
This commit is contained in:
parent
400a8e3264
commit
f97304fa3f
1 changed files with 0 additions and 1 deletions
|
|
@ -346,7 +346,6 @@ int nsh_unsetvar(FAR struct nsh_vtbl_s *vtbl, FAR const char *name)
|
|||
}
|
||||
}
|
||||
|
||||
sched_unlock();
|
||||
return ret;
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue