diff options
Diffstat (limited to 'os/kernel/src/chregistry.c')
-rw-r--r-- | os/kernel/src/chregistry.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/os/kernel/src/chregistry.c b/os/kernel/src/chregistry.c index b0d241fee..685d0c109 100644 --- a/os/kernel/src/chregistry.c +++ b/os/kernel/src/chregistry.c @@ -159,8 +159,7 @@ thread_t *chRegNextThread(thread_t *tp) { ntp = NULL;
#if CH_CFG_USE_DYNAMIC
else {
- chDbgAssert(ntp->p_refs < 255, "chRegNextThread(), #1",
- "too many references");
+ chDbgAssert(ntp->p_refs < 255, "too many references");
ntp->p_refs++;
}
#endif
|