summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
author[email protected] <[email protected]>2012-03-23 06:55:03 +0000
committer[email protected] <[email protected]>2012-03-23 06:55:03 +0000
commite19102edd50235a26417d0279001692dcad16766 (patch)
tree53aa56dc09b9053334c73875d7f0db8d5970fcb4 /components
parent0f519b672150eedaea7401604e9bdb5293157dbb (diff)
remove rt_list_isempty function.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2006 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'components')
-rw-r--r--components/finsh/cmd.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/components/finsh/cmd.c b/components/finsh/cmd.c
index d6edef00da..a96463ed9b 100644
--- a/components/finsh/cmd.c
+++ b/components/finsh/cmd.c
@@ -30,13 +30,6 @@
#include <rtthread.h>
#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;