diff --git a/components/finsh/cmd.c b/components/finsh/cmd.c index d6edef00daeb50affddaa2b853a2cff7494bf627..a96463ed9bf6fd6a85d40d825ca73119aa71b677 100644 --- a/components/finsh/cmd.c +++ b/components/finsh/cmd.c @@ -30,13 +30,6 @@ #include #include "finsh.h" -// Copy from kservice.h because we can not use it out of the kernel. -// Ugly. Should let kservice.h available for applications? -rt_inline int rt_list_isempty(const rt_list_t *l) -{ - return l->next == l; -} - rt_inline unsigned int rt_list_len(const rt_list_t *l) { unsigned int len = 0;